From 3e6b22e084f0cd91efc59fb2659359ad0086696d Mon Sep 17 00:00:00 2001 From: Henk Kalkwater Date: Thu, 25 Mar 2021 17:32:00 +0100 Subject: [PATCH] WIP: Refractor C++-side. Loader should be working again --- core/codegen/loader_header.hbs | 4 +- core/codegen/loader_implementation.hbs | 34 +- core/codegen/loader_types_header.hbs | 22 +- core/codegen/loader_types_implementation.hbs | 57 + core/include/JellyfinQt/apiclient.h | 10 + core/include/JellyfinQt/apimodel.h | 1 - .../JellyfinQt/dto/basepluginconfiguration.h | 44 + .../JellyfinQt/dto/objectgroupupdate.h | 2 - .../include/JellyfinQt/loader/http/activate.h | 3 +- .../loader/http/addlistingprovider.h | 7 +- .../JellyfinQt/loader/http/addmediapath.h | 3 +- .../JellyfinQt/loader/http/addtocollection.h | 3 +- .../JellyfinQt/loader/http/addtoplaylist.h | 3 +- .../JellyfinQt/loader/http/addtunerhost.h | 7 +- .../JellyfinQt/loader/http/addusertosession.h | 3 +- .../JellyfinQt/loader/http/addvirtualfolder.h | 3 +- .../loader/http/applysearchcriteria.h | 3 +- .../JellyfinQt/loader/http/authenticateuser.h | 7 +- .../loader/http/authenticateuserbyname.h | 7 +- .../http/authenticatewithquickconnect.h | 7 +- .../JellyfinQt/loader/http/authorize.h | 3 +- .../JellyfinQt/loader/http/available.h | 3 +- .../loader/http/cancelpackageinstallation.h | 3 +- .../loader/http/cancelseriestimer.h | 3 +- .../JellyfinQt/loader/http/canceltimer.h | 3 +- .../JellyfinQt/loader/http/closelivestream.h | 3 +- .../JellyfinQt/loader/http/completewizard.h | 3 +- core/include/JellyfinQt/loader/http/connect.h | 7 +- .../loader/http/createadminnotification.h | 3 +- .../JellyfinQt/loader/http/createcollection.h | 7 +- .../JellyfinQt/loader/http/createkey.h | 3 +- .../JellyfinQt/loader/http/createplaylist.h | 7 +- .../JellyfinQt/loader/http/createprofile.h | 3 +- .../loader/http/createseriestimer.h | 3 +- .../JellyfinQt/loader/http/createtimer.h | 3 +- .../JellyfinQt/loader/http/createuserbyname.h | 7 +- .../JellyfinQt/loader/http/deauthorize.h | 3 +- .../loader/http/deletealternatesources.h | 3 +- .../JellyfinQt/loader/http/deletedevice.h | 3 +- .../JellyfinQt/loader/http/deleteitem.h | 3 +- .../JellyfinQt/loader/http/deleteitemimage.h | 3 +- .../loader/http/deleteitemimagebyindex.h | 3 +- .../JellyfinQt/loader/http/deleteitems.h | 3 +- .../loader/http/deletelistingprovider.h | 3 +- .../JellyfinQt/loader/http/deleteprofile.h | 3 +- .../JellyfinQt/loader/http/deleterecording.h | 3 +- .../JellyfinQt/loader/http/deletesubtitle.h | 3 +- .../JellyfinQt/loader/http/deletetunerhost.h | 3 +- .../JellyfinQt/loader/http/deleteuser.h | 3 +- .../JellyfinQt/loader/http/deleteuserimage.h | 3 +- .../loader/http/deleteuserimagebyindex.h | 3 +- .../loader/http/deleteuseritemrating.h | 7 +- .../JellyfinQt/loader/http/disableplugin.h | 3 +- .../JellyfinQt/loader/http/discovertuners.h | 3 +- .../JellyfinQt/loader/http/discvovertuners.h | 3 +- .../JellyfinQt/loader/http/displaycontent.h | 3 +- .../loader/http/downloadremoteimage.h | 3 +- .../loader/http/downloadremotesubtitles.h | 3 +- .../JellyfinQt/loader/http/enableplugin.h | 3 +- .../JellyfinQt/loader/http/forgotpassword.h | 7 +- .../loader/http/forgotpasswordpin.h | 7 +- core/include/JellyfinQt/loader/http/get.h | 7 +- .../loader/http/getadditionalpart.h | 7 +- .../JellyfinQt/loader/http/getalbumartists.h | 7 +- .../loader/http/getallchannelfeatures.h | 3 +- .../JellyfinQt/loader/http/getancestors.h | 3 +- .../JellyfinQt/loader/http/getartistbyname.h | 7 +- .../JellyfinQt/loader/http/getartistimage.h | 3 +- .../JellyfinQt/loader/http/getartists.h | 7 +- .../JellyfinQt/loader/http/getattachment.h | 3 +- .../JellyfinQt/loader/http/getaudiostream.h | 3 +- .../loader/http/getaudiostreambycontainer.h | 3 +- .../JellyfinQt/loader/http/getauthproviders.h | 3 +- .../loader/http/getbitratetestbytes.h | 3 +- .../loader/http/getbookremotesearchresults.h | 3 +- .../http/getboxsetremotesearchresults.h | 3 +- .../JellyfinQt/loader/http/getbrandingcss.h | 3 +- .../JellyfinQt/loader/http/getbrandingcss_2.h | 3 +- .../loader/http/getbrandingoptions.h | 7 +- .../JellyfinQt/loader/http/getchannel.h | 7 +- .../loader/http/getchannelfeatures.h | 7 +- .../JellyfinQt/loader/http/getchannelitems.h | 7 +- .../loader/http/getchannelmappingoptions.h | 7 +- .../JellyfinQt/loader/http/getchannels.h | 7 +- .../JellyfinQt/loader/http/getconfiguration.h | 7 +- .../loader/http/getconfigurationpages.h | 3 +- .../loader/http/getconnectionmanager.h | 3 +- .../loader/http/getconnectionmanager_2.h | 3 +- .../loader/http/getconnectionmanager_3.h | 3 +- .../loader/http/getcontentdirectory.h | 3 +- .../loader/http/getcontentdirectory_2.h | 3 +- .../loader/http/getcontentdirectory_3.h | 3 +- .../JellyfinQt/loader/http/getcountries.h | 3 +- .../JellyfinQt/loader/http/getcriticreviews.h | 7 +- .../JellyfinQt/loader/http/getcultures.h | 3 +- .../JellyfinQt/loader/http/getcurrentuser.h | 7 +- .../http/getdashboardconfigurationpage.h | 3 +- .../loader/http/getdefaultdirectorybrowser.h | 7 +- .../loader/http/getdefaultlistingprovider.h | 7 +- .../loader/http/getdefaultmetadataoptions.h | 7 +- .../loader/http/getdefaultprofile.h | 7 +- .../JellyfinQt/loader/http/getdefaulttimer.h | 7 +- .../loader/http/getdescriptionxml.h | 3 +- .../loader/http/getdescriptionxml_2.h | 3 +- .../JellyfinQt/loader/http/getdeviceinfo.h | 7 +- .../JellyfinQt/loader/http/getdeviceoptions.h | 7 +- .../JellyfinQt/loader/http/getdevices.h | 7 +- .../loader/http/getdirectorycontents.h | 3 +- .../loader/http/getdisplaypreferences.h | 7 +- .../JellyfinQt/loader/http/getdownload.h | 3 +- .../JellyfinQt/loader/http/getdrives.h | 3 +- .../JellyfinQt/loader/http/getendpointinfo.h | 7 +- .../JellyfinQt/loader/http/getepisodes.h | 7 +- .../loader/http/getexternalidinfos.h | 3 +- .../JellyfinQt/loader/http/getfallbackfont.h | 3 +- .../loader/http/getfallbackfontlist.h | 3 +- core/include/JellyfinQt/loader/http/getfile.h | 3 +- .../JellyfinQt/loader/http/getfirstuser.h | 7 +- .../JellyfinQt/loader/http/getfirstuser_2.h | 7 +- .../JellyfinQt/loader/http/getgeneralimage.h | 3 +- .../JellyfinQt/loader/http/getgeneralimages.h | 3 +- .../include/JellyfinQt/loader/http/getgenre.h | 7 +- .../JellyfinQt/loader/http/getgenreimage.h | 3 +- .../loader/http/getgenreimagebyindex.h | 3 +- .../JellyfinQt/loader/http/getgenres.h | 7 +- .../loader/http/getgroupingoptions.h | 3 +- .../JellyfinQt/loader/http/getguideinfo.h | 7 +- .../loader/http/gethlsaudiosegment.h | 3 +- .../loader/http/gethlsaudiosegmentlegacyaac.h | 3 +- .../loader/http/gethlsaudiosegmentlegacymp3.h | 3 +- .../loader/http/gethlsplaylistlegacy.h | 3 +- .../loader/http/gethlsvideosegment.h | 3 +- .../loader/http/gethlsvideosegmentlegacy.h | 3 +- core/include/JellyfinQt/loader/http/geticon.h | 3 +- .../JellyfinQt/loader/http/geticonid.h | 3 +- .../loader/http/getinstantmixfromalbum.h | 7 +- .../loader/http/getinstantmixfromartists.h | 7 +- .../loader/http/getinstantmixfromitem.h | 7 +- .../loader/http/getinstantmixfrommusicgenre.h | 7 +- .../http/getinstantmixfrommusicgenres.h | 7 +- .../loader/http/getinstantmixfromplaylist.h | 7 +- .../loader/http/getinstantmixfromsong.h | 7 +- .../JellyfinQt/loader/http/getintros.h | 7 +- core/include/JellyfinQt/loader/http/getitem.h | 7 +- .../JellyfinQt/loader/http/getitemcounts.h | 7 +- .../JellyfinQt/loader/http/getitemimage.h | 3 +- .../JellyfinQt/loader/http/getitemimage2.h | 3 +- .../loader/http/getitemimagebyindex.h | 3 +- .../loader/http/getitemimageinfos.h | 3 +- .../include/JellyfinQt/loader/http/getitems.h | 7 +- .../JellyfinQt/loader/http/getitemsbyuserid.h | 7 +- core/include/JellyfinQt/loader/http/getkeys.h | 7 +- .../loader/http/getlatestchannelitems.h | 7 +- .../JellyfinQt/loader/http/getlatestmedia.h | 3 +- .../loader/http/getlibraryoptionsinfo.h | 7 +- .../JellyfinQt/loader/http/getlineups.h | 3 +- .../JellyfinQt/loader/http/getlivehlsstream.h | 3 +- .../loader/http/getliverecordingfile.h | 3 +- .../loader/http/getlivestreamfile.h | 3 +- .../loader/http/getlivetvchannels.h | 7 +- .../JellyfinQt/loader/http/getlivetvinfo.h | 7 +- .../loader/http/getlivetvprograms.h | 7 +- .../loader/http/getlocalizationoptions.h | 3 +- .../JellyfinQt/loader/http/getlocaltrailers.h | 3 +- .../JellyfinQt/loader/http/getlogentries.h | 7 +- .../JellyfinQt/loader/http/getlogfile.h | 3 +- .../loader/http/getmasterhlsaudioplaylist.h | 3 +- .../loader/http/getmasterhlsvideoplaylist.h | 3 +- .../JellyfinQt/loader/http/getmediafolders.h | 7 +- .../loader/http/getmediainfoimage.h | 3 +- .../loader/http/getmediainfoimages.h | 3 +- .../loader/http/getmediareceiverregistrar.h | 3 +- .../loader/http/getmediareceiverregistrar_2.h | 3 +- .../loader/http/getmediareceiverregistrar_3.h | 3 +- .../loader/http/getmetadataeditorinfo.h | 7 +- .../loader/http/getmovierecommendations.h | 3 +- .../loader/http/getmovieremotesearchresults.h | 3 +- .../http/getmusicalbumremotesearchresults.h | 3 +- .../http/getmusicartistremotesearchresults.h | 3 +- .../JellyfinQt/loader/http/getmusicgenre.h | 7 +- .../loader/http/getmusicgenreimage.h | 3 +- .../loader/http/getmusicgenreimagebyindex.h | 3 +- .../JellyfinQt/loader/http/getmusicgenres.h | 7 +- .../http/getmusicvideoremotesearchresults.h | 3 +- .../loader/http/getnamedconfiguration.h | 3 +- .../JellyfinQt/loader/http/getnetworkshares.h | 3 +- .../JellyfinQt/loader/http/getnextup.h | 7 +- .../JellyfinQt/loader/http/getnotifications.h | 7 +- .../loader/http/getnotificationservices.h | 3 +- .../loader/http/getnotificationssummary.h | 7 +- .../loader/http/getnotificationtypes.h | 3 +- .../JellyfinQt/loader/http/getpackageinfo.h | 7 +- .../JellyfinQt/loader/http/getpackages.h | 3 +- .../loader/http/getparentalratings.h | 3 +- .../JellyfinQt/loader/http/getparentpath.h | 3 +- .../loader/http/getpasswordresetproviders.h | 3 +- .../JellyfinQt/loader/http/getperson.h | 7 +- .../JellyfinQt/loader/http/getpersonimage.h | 3 +- .../loader/http/getpersonimagebyindex.h | 3 +- .../http/getpersonremotesearchresults.h | 3 +- .../JellyfinQt/loader/http/getpersons.h | 7 +- .../JellyfinQt/loader/http/getphysicalpaths.h | 3 +- .../JellyfinQt/loader/http/getpingsystem.h | 3 +- .../JellyfinQt/loader/http/getplaybackinfo.h | 7 +- .../JellyfinQt/loader/http/getplaylistitems.h | 7 +- .../loader/http/getpluginconfiguration.h | 7 +- .../JellyfinQt/loader/http/getpluginimage.h | 3 +- .../loader/http/getpluginmanifest.h | 3 +- .../JellyfinQt/loader/http/getplugins.h | 3 +- .../loader/http/getpostedplaybackinfo.h | 7 +- .../JellyfinQt/loader/http/getprofile.h | 7 +- .../JellyfinQt/loader/http/getprofileinfos.h | 3 +- .../JellyfinQt/loader/http/getprogram.h | 7 +- .../JellyfinQt/loader/http/getprograms.h | 7 +- .../loader/http/getpublicsysteminfo.h | 7 +- .../JellyfinQt/loader/http/getpublicusers.h | 3 +- .../JellyfinQt/loader/http/getqueryfilters.h | 7 +- .../loader/http/getqueryfilterslegacy.h | 7 +- .../JellyfinQt/loader/http/getratingimage.h | 3 +- .../JellyfinQt/loader/http/getratingimages.h | 3 +- .../loader/http/getrecommendedprograms.h | 7 +- .../JellyfinQt/loader/http/getrecording.h | 7 +- .../loader/http/getrecordingfolders.h | 7 +- .../loader/http/getrecordinggroup.h | 3 +- .../loader/http/getrecordinggroups.h | 7 +- .../JellyfinQt/loader/http/getrecordings.h | 7 +- .../loader/http/getrecordingsseries.h | 7 +- .../JellyfinQt/loader/http/getremoteimage.h | 3 +- .../loader/http/getremoteimageproviders.h | 3 +- .../JellyfinQt/loader/http/getremoteimages.h | 7 +- .../loader/http/getremotesearchimage.h | 3 +- .../loader/http/getremotesubtitles.h | 3 +- .../JellyfinQt/loader/http/getrepositories.h | 3 +- .../JellyfinQt/loader/http/getresumeitems.h | 7 +- .../JellyfinQt/loader/http/getrootfolder.h | 7 +- .../loader/http/getschedulesdirectcountries.h | 3 +- .../JellyfinQt/loader/http/getseasons.h | 7 +- .../http/getseriesremotesearchresults.h | 3 +- .../JellyfinQt/loader/http/getseriestimer.h | 7 +- .../JellyfinQt/loader/http/getseriestimers.h | 7 +- .../JellyfinQt/loader/http/getserverlogs.h | 3 +- .../JellyfinQt/loader/http/getsessions.h | 3 +- .../JellyfinQt/loader/http/getsimilaralbums.h | 7 +- .../loader/http/getsimilarartists.h | 7 +- .../JellyfinQt/loader/http/getsimilaritems.h | 7 +- .../JellyfinQt/loader/http/getsimilarmovies.h | 7 +- .../JellyfinQt/loader/http/getsimilarshows.h | 7 +- .../loader/http/getsimilartrailers.h | 7 +- .../loader/http/getspecialfeatures.h | 3 +- .../loader/http/getstartupconfiguration.h | 7 +- .../JellyfinQt/loader/http/getstatus.h | 7 +- .../JellyfinQt/loader/http/getstudio.h | 7 +- .../JellyfinQt/loader/http/getstudioimage.h | 3 +- .../loader/http/getstudioimagebyindex.h | 3 +- .../JellyfinQt/loader/http/getstudios.h | 7 +- .../JellyfinQt/loader/http/getsubtitle.h | 3 +- .../loader/http/getsubtitleplaylist.h | 3 +- .../loader/http/getsubtitlewithticks.h | 3 +- .../JellyfinQt/loader/http/getsuggestions.h | 7 +- .../JellyfinQt/loader/http/getsysteminfo.h | 7 +- core/include/JellyfinQt/loader/http/gettask.h | 7 +- .../include/JellyfinQt/loader/http/gettasks.h | 3 +- .../JellyfinQt/loader/http/getthememedia.h | 7 +- .../JellyfinQt/loader/http/getthemesongs.h | 7 +- .../JellyfinQt/loader/http/getthemevideos.h | 7 +- .../include/JellyfinQt/loader/http/gettimer.h | 7 +- .../JellyfinQt/loader/http/gettimers.h | 7 +- .../http/gettrailerremotesearchresults.h | 3 +- .../JellyfinQt/loader/http/gettrailers.h | 7 +- .../loader/http/gettunerhosttypes.h | 3 +- .../loader/http/getuniversalaudiostream.h | 3 +- .../loader/http/getupcomingepisodes.h | 7 +- .../JellyfinQt/loader/http/getuserbyid.h | 7 +- .../JellyfinQt/loader/http/getuserimage.h | 3 +- .../loader/http/getuserimagebyindex.h | 3 +- .../include/JellyfinQt/loader/http/getusers.h | 3 +- .../JellyfinQt/loader/http/getuserviews.h | 7 +- .../JellyfinQt/loader/http/getutctime.h | 7 +- .../loader/http/getvarianthlsaudioplaylist.h | 3 +- .../loader/http/getvarianthlsvideoplaylist.h | 3 +- .../JellyfinQt/loader/http/getvideostream.h | 3 +- .../loader/http/getvideostreambycontainer.h | 3 +- .../loader/http/getvirtualfolders.h | 3 +- .../JellyfinQt/loader/http/getwakeonlaninfo.h | 3 +- core/include/JellyfinQt/loader/http/getyear.h | 7 +- .../include/JellyfinQt/loader/http/getyears.h | 7 +- .../JellyfinQt/loader/http/headartistimage.h | 3 +- .../JellyfinQt/loader/http/headaudiostream.h | 3 +- .../loader/http/headaudiostreambycontainer.h | 3 +- .../JellyfinQt/loader/http/headgenreimage.h | 3 +- .../loader/http/headgenreimagebyindex.h | 3 +- .../JellyfinQt/loader/http/headitemimage.h | 3 +- .../JellyfinQt/loader/http/headitemimage2.h | 3 +- .../loader/http/headitemimagebyindex.h | 3 +- .../loader/http/headmasterhlsaudioplaylist.h | 3 +- .../loader/http/headmasterhlsvideoplaylist.h | 3 +- .../loader/http/headmusicgenreimage.h | 3 +- .../loader/http/headmusicgenreimagebyindex.h | 3 +- .../JellyfinQt/loader/http/headpersonimage.h | 3 +- .../loader/http/headpersonimagebyindex.h | 3 +- .../JellyfinQt/loader/http/headstudioimage.h | 3 +- .../loader/http/headstudioimagebyindex.h | 3 +- .../loader/http/headuniversalaudiostream.h | 3 +- .../JellyfinQt/loader/http/headuserimage.h | 3 +- .../loader/http/headuserimagebyindex.h | 3 +- .../JellyfinQt/loader/http/headvideostream.h | 3 +- .../loader/http/headvideostreambycontainer.h | 3 +- .../include/JellyfinQt/loader/http/initiate.h | 7 +- .../JellyfinQt/loader/http/installpackage.h | 3 +- .../JellyfinQt/loader/http/markfavoriteitem.h | 7 +- .../JellyfinQt/loader/http/markplayeditem.h | 7 +- .../JellyfinQt/loader/http/markunplayeditem.h | 7 +- .../JellyfinQt/loader/http/mergeversions.h | 3 +- .../include/JellyfinQt/loader/http/moveitem.h | 3 +- .../loader/http/onplaybackprogress.h | 3 +- .../JellyfinQt/loader/http/onplaybackstart.h | 3 +- .../loader/http/onplaybackstopped.h | 3 +- .../JellyfinQt/loader/http/openlivestream.h | 7 +- .../loader/http/pingplaybacksession.h | 3 +- core/include/JellyfinQt/loader/http/play.h | 3 +- core/include/JellyfinQt/loader/http/post.h | 3 +- .../JellyfinQt/loader/http/postaddedmovies.h | 3 +- .../JellyfinQt/loader/http/postaddedseries.h | 3 +- .../JellyfinQt/loader/http/postcapabilities.h | 3 +- .../loader/http/postfullcapabilities.h | 3 +- .../JellyfinQt/loader/http/postpingsystem.h | 3 +- .../JellyfinQt/loader/http/postupdatedmedia.h | 3 +- .../loader/http/postupdatedmovies.h | 3 +- .../loader/http/postupdatedseries.h | 3 +- .../JellyfinQt/loader/http/postuserimage.h | 3 +- .../loader/http/postuserimagebyindex.h | 3 +- .../processconnectionmanagercontrolrequest.h | 3 +- .../processcontentdirectorycontrolrequest.h | 3 +- ...cessmediareceiverregistrarcontrolrequest.h | 3 +- .../JellyfinQt/loader/http/refreshlibrary.h | 3 +- .../loader/http/removefromcollection.h | 3 +- .../loader/http/removefromplaylist.h | 3 +- .../JellyfinQt/loader/http/removemediapath.h | 3 +- .../loader/http/removeuserfromsession.h | 3 +- .../loader/http/removevirtualfolder.h | 3 +- .../loader/http/renamevirtualfolder.h | 3 +- .../loader/http/reportplaybackprogress.h | 3 +- .../loader/http/reportplaybackstart.h | 3 +- .../loader/http/reportplaybackstopped.h | 3 +- .../loader/http/reportsessionended.h | 3 +- .../JellyfinQt/loader/http/reportviewing.h | 3 +- .../JellyfinQt/loader/http/resettuner.h | 3 +- .../loader/http/restartapplication.h | 3 +- .../JellyfinQt/loader/http/revokekey.h | 3 +- .../loader/http/searchremotesubtitles.h | 3 +- .../loader/http/sendfullgeneralcommand.h | 3 +- .../loader/http/sendgeneralcommand.h | 3 +- .../loader/http/sendmessagecommand.h | 3 +- .../loader/http/sendplaystatecommand.h | 3 +- .../loader/http/sendsystemcommand.h | 3 +- .../loader/http/setchannelmapping.h | 7 +- .../JellyfinQt/loader/http/setitemimage.h | 3 +- .../loader/http/setitemimagebyindex.h | 3 +- core/include/JellyfinQt/loader/http/setread.h | 3 +- .../JellyfinQt/loader/http/setremoteaccess.h | 3 +- .../JellyfinQt/loader/http/setrepositories.h | 3 +- .../JellyfinQt/loader/http/setunread.h | 3 +- .../loader/http/shutdownapplication.h | 3 +- .../JellyfinQt/loader/http/starttask.h | 3 +- .../loader/http/stopencodingprocess.h | 3 +- .../include/JellyfinQt/loader/http/stoptask.h | 3 +- .../loader/http/syncplaybuffering.h | 3 +- .../loader/http/syncplaycreategroup.h | 3 +- .../loader/http/syncplaygetgroups.h | 3 +- .../loader/http/syncplayjoingroup.h | 3 +- .../loader/http/syncplayleavegroup.h | 3 +- .../loader/http/syncplaymoveplaylistitem.h | 3 +- .../JellyfinQt/loader/http/syncplaynextitem.h | 3 +- .../JellyfinQt/loader/http/syncplaypause.h | 3 +- .../JellyfinQt/loader/http/syncplayping.h | 3 +- .../loader/http/syncplaypreviousitem.h | 3 +- .../JellyfinQt/loader/http/syncplayqueue.h | 3 +- .../JellyfinQt/loader/http/syncplayready.h | 3 +- .../loader/http/syncplayremovefromplaylist.h | 3 +- .../JellyfinQt/loader/http/syncplayseek.h | 3 +- .../loader/http/syncplaysetignorewait.h | 3 +- .../loader/http/syncplaysetnewqueue.h | 3 +- .../loader/http/syncplaysetplaylistitem.h | 3 +- .../loader/http/syncplaysetrepeatmode.h | 3 +- .../loader/http/syncplaysetshufflemode.h | 3 +- .../JellyfinQt/loader/http/syncplaystop.h | 3 +- .../JellyfinQt/loader/http/syncplayunpause.h | 3 +- .../JellyfinQt/loader/http/uninstallplugin.h | 3 +- .../loader/http/uninstallpluginbyversion.h | 3 +- .../loader/http/unmarkfavoriteitem.h | 7 +- .../loader/http/updateconfiguration.h | 3 +- .../loader/http/updatedeviceoptions.h | 3 +- .../loader/http/updatedisplaypreferences.h | 3 +- .../loader/http/updateinitialconfiguration.h | 3 +- .../JellyfinQt/loader/http/updateitem.h | 3 +- .../loader/http/updateitemcontenttype.h | 3 +- .../loader/http/updateitemimageindex.h | 3 +- .../loader/http/updatelibraryoptions.h | 3 +- .../loader/http/updatemediaencoderpath.h | 3 +- .../JellyfinQt/loader/http/updatemediapath.h | 3 +- .../loader/http/updatenamedconfiguration.h | 3 +- .../loader/http/updatepluginconfiguration.h | 3 +- .../loader/http/updatepluginsecurityinfo.h | 3 +- .../JellyfinQt/loader/http/updateprofile.h | 3 +- .../loader/http/updateseriestimer.h | 3 +- .../loader/http/updatestartupuser.h | 3 +- .../JellyfinQt/loader/http/updatetask.h | 3 +- .../JellyfinQt/loader/http/updatetimer.h | 3 +- .../JellyfinQt/loader/http/updateuser.h | 3 +- .../loader/http/updateuserconfiguration.h | 3 +- .../loader/http/updateusereasypassword.h | 3 +- .../loader/http/updateuseritemrating.h | 7 +- .../loader/http/updateuserpassword.h | 3 +- .../JellyfinQt/loader/http/updateuserpolicy.h | 3 +- .../JellyfinQt/loader/http/uploadsubtitle.h | 3 +- .../JellyfinQt/loader/http/validatepath.h | 3 +- core/include/JellyfinQt/loader/requesttypes.h | 51537 +++++++++------- core/include/JellyfinQt/model/item.h | 6 +- core/include/JellyfinQt/support/jsonconv.h | 11 +- core/include/JellyfinQt/support/loader.h | 21 +- core/include/JellyfinQt/viewmodel/item.h | 20 +- core/include/JellyfinQt/viewmodel/loader.h | 31 +- core/openapigenerator.d | 211 +- core/src/dto/basepluginconfiguration.cpp | 37 + core/src/dto/objectgroupupdate.cpp | 7 - core/src/jellyfin.cpp | 5 +- core/src/loader/http/activate.cpp | 40 + core/src/loader/http/addlistingprovider.cpp | 68 + 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 | 59 + core/src/loader/http/addusertosession.cpp | 40 + core/src/loader/http/addvirtualfolder.cpp | 40 + core/src/loader/http/applysearchcriteria.cpp | 40 + core/src/loader/http/authenticateuser.cpp | 63 + .../loader/http/authenticateuserbyname.cpp | 59 + .../http/authenticatewithquickconnect.cpp | 59 + core/src/loader/http/authorize.cpp | 40 + core/src/loader/http/available.cpp | 40 + .../loader/http/cancelpackageinstallation.cpp | 40 + core/src/loader/http/cancelseriestimer.cpp | 40 + core/src/loader/http/canceltimer.cpp | 40 + core/src/loader/http/closelivestream.cpp | 40 + core/src/loader/http/completewizard.cpp | 40 + core/src/loader/http/connect.cpp | 60 + .../loader/http/createadminnotification.cpp | 40 + core/src/loader/http/createcollection.cpp | 71 + core/src/loader/http/createkey.cpp | 40 + core/src/loader/http/createplaylist.cpp | 71 + 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 | 59 + core/src/loader/http/deauthorize.cpp | 40 + .../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 | 59 + core/src/loader/http/disableplugin.cpp | 40 + core/src/loader/http/discovertuners.cpp | 40 + core/src/loader/http/discvovertuners.cpp | 40 + core/src/loader/http/displaycontent.cpp | 40 + core/src/loader/http/downloadremoteimage.cpp | 40 + .../loader/http/downloadremotesubtitles.cpp | 40 + core/src/loader/http/enableplugin.cpp | 40 + core/src/loader/http/forgotpassword.cpp | 59 + core/src/loader/http/forgotpasswordpin.cpp | 59 + core/src/loader/http/get.cpp | 111 + core/src/loader/http/getadditionalpart.cpp | 62 + core/src/loader/http/getalbumartists.cpp | 149 + .../src/loader/http/getallchannelfeatures.cpp | 40 + core/src/loader/http/getancestors.cpp | 40 + core/src/loader/http/getartistbyname.cpp | 62 + core/src/loader/http/getartistimage.cpp | 40 + core/src/loader/http/getartists.cpp | 149 + 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 | 40 + core/src/loader/http/getbitratetestbytes.cpp | 40 + .../http/getbookremotesearchresults.cpp | 40 + .../http/getboxsetremotesearchresults.cpp | 40 + core/src/loader/http/getbrandingcss.cpp | 40 + core/src/loader/http/getbrandingcss_2.cpp | 40 + core/src/loader/http/getbrandingoptions.cpp | 59 + core/src/loader/http/getchannel.cpp | 62 + core/src/loader/http/getchannelfeatures.cpp | 59 + core/src/loader/http/getchannelitems.cpp | 83 + .../loader/http/getchannelmappingoptions.cpp | 62 + core/src/loader/http/getchannels.cpp | 77 + core/src/loader/http/getconfiguration.cpp | 59 + .../src/loader/http/getconfigurationpages.cpp | 40 + 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 | 40 + core/src/loader/http/getcriticreviews.cpp | 59 + core/src/loader/http/getcultures.cpp | 40 + core/src/loader/http/getcurrentuser.cpp | 59 + .../http/getdashboardconfigurationpage.cpp | 40 + .../http/getdefaultdirectorybrowser.cpp | 59 + .../loader/http/getdefaultlistingprovider.cpp | 59 + .../loader/http/getdefaultmetadataoptions.cpp | 59 + core/src/loader/http/getdefaultprofile.cpp | 59 + core/src/loader/http/getdefaulttimer.cpp | 62 + core/src/loader/http/getdescriptionxml.cpp | 40 + core/src/loader/http/getdescriptionxml_2.cpp | 40 + core/src/loader/http/getdeviceinfo.cpp | 60 + core/src/loader/http/getdeviceoptions.cpp | 60 + core/src/loader/http/getdevices.cpp | 65 + core/src/loader/http/getdirectorycontents.cpp | 40 + .../src/loader/http/getdisplaypreferences.cpp | 61 + core/src/loader/http/getdownload.cpp | 40 + core/src/loader/http/getdrives.cpp | 40 + core/src/loader/http/getendpointinfo.cpp | 59 + core/src/loader/http/getepisodes.cpp | 101 + core/src/loader/http/getexternalidinfos.cpp | 40 + core/src/loader/http/getfallbackfont.cpp | 40 + core/src/loader/http/getfallbackfontlist.cpp | 40 + core/src/loader/http/getfile.cpp | 40 + core/src/loader/http/getfirstuser.cpp | 59 + core/src/loader/http/getfirstuser_2.cpp | 59 + core/src/loader/http/getgeneralimage.cpp | 40 + core/src/loader/http/getgeneralimages.cpp | 40 + core/src/loader/http/getgenre.cpp | 62 + core/src/loader/http/getgenreimage.cpp | 40 + core/src/loader/http/getgenreimagebyindex.cpp | 40 + core/src/loader/http/getgenres.cpp | 107 + core/src/loader/http/getgroupingoptions.cpp | 40 + core/src/loader/http/getguideinfo.cpp | 59 + 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 | 80 + .../loader/http/getinstantmixfromartists.cpp | 80 + .../src/loader/http/getinstantmixfromitem.cpp | 80 + .../http/getinstantmixfrommusicgenre.cpp | 80 + .../http/getinstantmixfrommusicgenres.cpp | 80 + .../loader/http/getinstantmixfromplaylist.cpp | 80 + .../src/loader/http/getinstantmixfromsong.cpp | 80 + core/src/loader/http/getintros.cpp | 59 + core/src/loader/http/getitem.cpp | 59 + core/src/loader/http/getitemcounts.cpp | 65 + 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/getitemimageinfos.cpp | 40 + core/src/loader/http/getitems.cpp | 299 + core/src/loader/http/getitemsbyuserid.cpp | 296 + core/src/loader/http/getkeys.cpp | 59 + .../src/loader/http/getlatestchannelitems.cpp | 77 + core/src/loader/http/getlatestmedia.cpp | 40 + .../src/loader/http/getlibraryoptionsinfo.cpp | 65 + core/src/loader/http/getlineups.cpp | 40 + 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 | 122 + core/src/loader/http/getlivetvinfo.cpp | 59 + core/src/loader/http/getlivetvprograms.cpp | 140 + .../loader/http/getlocalizationoptions.cpp | 40 + core/src/loader/http/getlocaltrailers.cpp | 40 + core/src/loader/http/getlogentries.cpp | 71 + core/src/loader/http/getlogfile.cpp | 40 + .../loader/http/getmasterhlsaudioplaylist.cpp | 40 + .../loader/http/getmasterhlsvideoplaylist.cpp | 40 + core/src/loader/http/getmediafolders.cpp | 62 + core/src/loader/http/getmediainfoimage.cpp | 40 + core/src/loader/http/getmediainfoimages.cpp | 40 + .../loader/http/getmediareceiverregistrar.cpp | 40 + .../http/getmediareceiverregistrar_2.cpp | 40 + .../http/getmediareceiverregistrar_3.cpp | 40 + .../src/loader/http/getmetadataeditorinfo.cpp | 59 + .../loader/http/getmovierecommendations.cpp | 40 + .../http/getmovieremotesearchresults.cpp | 40 + .../http/getmusicalbumremotesearchresults.cpp | 40 + .../getmusicartistremotesearchresults.cpp | 40 + core/src/loader/http/getmusicgenre.cpp | 62 + core/src/loader/http/getmusicgenreimage.cpp | 40 + .../loader/http/getmusicgenreimagebyindex.cpp | 40 + core/src/loader/http/getmusicgenres.cpp | 107 + .../http/getmusicvideoremotesearchresults.cpp | 40 + .../src/loader/http/getnamedconfiguration.cpp | 40 + core/src/loader/http/getnetworkshares.cpp | 40 + core/src/loader/http/getnextup.cpp | 95 + core/src/loader/http/getnotifications.cpp | 59 + .../loader/http/getnotificationservices.cpp | 40 + .../loader/http/getnotificationssummary.cpp | 59 + core/src/loader/http/getnotificationtypes.cpp | 40 + core/src/loader/http/getpackageinfo.cpp | 62 + core/src/loader/http/getpackages.cpp | 40 + core/src/loader/http/getparentalratings.cpp | 40 + core/src/loader/http/getparentpath.cpp | 40 + .../loader/http/getpasswordresetproviders.cpp | 40 + core/src/loader/http/getperson.cpp | 62 + core/src/loader/http/getpersonimage.cpp | 40 + .../src/loader/http/getpersonimagebyindex.cpp | 40 + .../http/getpersonremotesearchresults.cpp | 40 + core/src/loader/http/getpersons.cpp | 98 + core/src/loader/http/getphysicalpaths.cpp | 40 + core/src/loader/http/getpingsystem.cpp | 40 + core/src/loader/http/getplaybackinfo.cpp | 60 + core/src/loader/http/getplaylistitems.cpp | 81 + .../loader/http/getpluginconfiguration.cpp | 59 + core/src/loader/http/getpluginimage.cpp | 40 + core/src/loader/http/getpluginmanifest.cpp | 40 + core/src/loader/http/getplugins.cpp | 40 + .../src/loader/http/getpostedplaybackinfo.cpp | 101 + core/src/loader/http/getprofile.cpp | 59 + core/src/loader/http/getprofileinfos.cpp | 40 + core/src/loader/http/getprogram.cpp | 62 + core/src/loader/http/getprograms.cpp | 59 + core/src/loader/http/getpublicsysteminfo.cpp | 59 + core/src/loader/http/getpublicusers.cpp | 40 + core/src/loader/http/getqueryfilters.cpp | 89 + .../src/loader/http/getqueryfilterslegacy.cpp | 71 + core/src/loader/http/getratingimage.cpp | 40 + core/src/loader/http/getratingimages.cpp | 40 + .../loader/http/getrecommendedprograms.cpp | 107 + core/src/loader/http/getrecording.cpp | 62 + core/src/loader/http/getrecordingfolders.cpp | 62 + core/src/loader/http/getrecordinggroup.cpp | 40 + core/src/loader/http/getrecordinggroups.cpp | 62 + core/src/loader/http/getrecordings.cpp | 116 + core/src/loader/http/getrecordingsseries.cpp | 101 + core/src/loader/http/getremoteimage.cpp | 40 + .../loader/http/getremoteimageproviders.cpp | 40 + core/src/loader/http/getremoteimages.cpp | 74 + core/src/loader/http/getremotesearchimage.cpp | 40 + core/src/loader/http/getremotesubtitles.cpp | 40 + core/src/loader/http/getrepositories.cpp | 40 + core/src/loader/http/getresumeitems.cpp | 98 + core/src/loader/http/getrootfolder.cpp | 59 + .../http/getschedulesdirectcountries.cpp | 40 + core/src/loader/http/getseasons.cpp | 86 + .../http/getseriesremotesearchresults.cpp | 40 + core/src/loader/http/getseriestimer.cpp | 59 + core/src/loader/http/getseriestimers.cpp | 65 + core/src/loader/http/getserverlogs.cpp | 40 + core/src/loader/http/getsessions.cpp | 40 + core/src/loader/http/getsimilaralbums.cpp | 71 + core/src/loader/http/getsimilarartists.cpp | 71 + core/src/loader/http/getsimilaritems.cpp | 71 + core/src/loader/http/getsimilarmovies.cpp | 71 + core/src/loader/http/getsimilarshows.cpp | 71 + core/src/loader/http/getsimilartrailers.cpp | 71 + core/src/loader/http/getspecialfeatures.cpp | 40 + .../loader/http/getstartupconfiguration.cpp | 59 + core/src/loader/http/getstatus.cpp | 59 + core/src/loader/http/getstudio.cpp | 62 + core/src/loader/http/getstudioimage.cpp | 40 + .../src/loader/http/getstudioimagebyindex.cpp | 40 + core/src/loader/http/getstudios.cpp | 110 + 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/getsuggestions.cpp | 74 + core/src/loader/http/getsysteminfo.cpp | 59 + core/src/loader/http/gettask.cpp | 59 + core/src/loader/http/gettasks.cpp | 40 + core/src/loader/http/getthememedia.cpp | 65 + core/src/loader/http/getthemesongs.cpp | 65 + core/src/loader/http/getthemevideos.cpp | 65 + core/src/loader/http/gettimer.cpp | 59 + core/src/loader/http/gettimers.cpp | 71 + .../http/gettrailerremotesearchresults.cpp | 40 + core/src/loader/http/gettrailers.cpp | 296 + core/src/loader/http/gettunerhosttypes.cpp | 40 + .../loader/http/getuniversalaudiostream.cpp | 40 + core/src/loader/http/getupcomingepisodes.cpp | 86 + core/src/loader/http/getuserbyid.cpp | 59 + core/src/loader/http/getuserimage.cpp | 40 + core/src/loader/http/getuserimagebyindex.cpp | 40 + core/src/loader/http/getusers.cpp | 40 + core/src/loader/http/getuserviews.cpp | 68 + core/src/loader/http/getutctime.cpp | 59 + .../http/getvarianthlsaudioplaylist.cpp | 40 + .../http/getvarianthlsvideoplaylist.cpp | 40 + core/src/loader/http/getvideostream.cpp | 40 + .../loader/http/getvideostreambycontainer.cpp | 40 + core/src/loader/http/getvirtualfolders.cpp | 40 + core/src/loader/http/getwakeonlaninfo.cpp | 40 + core/src/loader/http/getyear.cpp | 62 + core/src/loader/http/getyears.cpp | 104 + 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 + core/src/loader/http/initiate.cpp | 59 + core/src/loader/http/installpackage.cpp | 40 + core/src/loader/http/markfavoriteitem.cpp | 59 + core/src/loader/http/markplayeditem.cpp | 62 + core/src/loader/http/markunplayeditem.cpp | 59 + core/src/loader/http/mergeversions.cpp | 40 + core/src/loader/http/moveitem.cpp | 40 + 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 | 92 + core/src/loader/http/pingplaybacksession.cpp | 40 + core/src/loader/http/play.cpp | 40 + 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 | 40 + 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/refreshlibrary.cpp | 40 + 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 + .../src/loader/http/searchremotesubtitles.cpp | 40 + .../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 + core/src/loader/http/setchannelmapping.cpp | 59 + 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 + core/src/loader/http/stopencodingprocess.cpp | 40 + core/src/loader/http/stoptask.cpp | 40 + core/src/loader/http/syncplaybuffering.cpp | 40 + core/src/loader/http/syncplaycreategroup.cpp | 40 + core/src/loader/http/syncplaygetgroups.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/uninstallplugin.cpp | 40 + .../loader/http/uninstallpluginbyversion.cpp | 40 + core/src/loader/http/unmarkfavoriteitem.cpp | 59 + 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 | 62 + 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/validatepath.cpp | 40 + core/src/loader/requesttypes.cpp | 49548 +++++++++++++++ core/src/model/item.cpp | 2 +- core/src/support/jsonconv.cpp | 26 + core/src/viewmodel/item.cpp | 28 + core/src/viewmodel/loader.cpp | 2 +- qtquick/qml/pages/DetailPage.qml | 6 +- 840 files changed, 100813 insertions(+), 23560 deletions(-) create mode 100644 core/codegen/loader_types_implementation.hbs create mode 100644 core/src/loader/requesttypes.cpp diff --git a/core/codegen/loader_header.hbs b/core/codegen/loader_header.hbs index 8f76c74..61e99db 100644 --- a/core/codegen/loader_header.hbs +++ b/core/codegen/loader_header.hbs @@ -8,10 +8,10 @@ class {{className}} : public {{supportNamespace}}::HttpLoader<{{dtoNamespace}}::{{endpoint.resultType}}, {{endpoint.parameterType}}> { public: - explicit {{className}}(ApiClient *apiClient); + explicit {{className}}(ApiClient *apiClient = nullptr); protected: - QString url(const {{endpoint.parameterType}}& parameters) const override; + QString path(const {{endpoint.parameterType}}& parameters) const override; QUrlQuery query(const {{endpoint.parameterType}}& parameters) const override; }; {{/if}} diff --git a/core/codegen/loader_implementation.hbs b/core/codegen/loader_implementation.hbs index f7d7e83..56860cf 100644 --- a/core/codegen/loader_implementation.hbs +++ b/core/codegen/loader_implementation.hbs @@ -1,2 +1,34 @@ +{{#if endpoint.hasSuccessResponse}} + {{className}}::{{className}}(ApiClient *apiClient) - : Loader<>(apiClient) {} + : {{supportNamespace}}::HttpLoader<{{dtoNamespace}}::{{endpoint.resultType}}, {{endpoint.parameterType}}>(apiClient) {} + +QString {{className}}::path(const {{endpoint.parameterType}} ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return {{pathStringInterpolation "params"}}; +} + +QUrlQuery {{className}}::query(const {{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|}} + result.addQueryItem("{{p.name}}", params.{{p.type.name}}()); + + {{/each}} + + // Optional parameters + + {{#each endpoint.optionalQueryParameters as |p|}} + if (!params.{{p.type.name}}Null()) { + result.addQueryItem("{{p.name}}", Support::toString(params.{{p.type.name}}())); + } + + {{/each}} + + return result; +} + +{{/if}} diff --git a/core/codegen/loader_types_header.hbs b/core/codegen/loader_types_header.hbs index b88e5e9..4c2e5ec 100644 --- a/core/codegen/loader_types_header.hbs +++ b/core/codegen/loader_types_header.hbs @@ -5,14 +5,23 @@ class {{e.name}} { public: {{#each e.parameters as |param|}} + /** * @brief {{param.description}} */ - - {{param.type.typeNameWithQualifiers}} {{param.type.name}}() const; - void set{{param.type.writeName}}({{param.type.typeNameWithQualifiers}} new{{param.type.writeName}}) const; + {{#if param.required}} + const {{param.type.typeNameWithQualifiers}} &{{param.type.name}}() const; + void set{{param.type.writeName}}({{param.type.typeNameWithQualifiers}} new{{param.type.writeName}}); + + {{else}} + const {{param.type.typeName}} &{{param.type.name}}() const; + void set{{param.type.writeName}}({{param.type.typeName}} new{{param.type.writeName}}); + bool {{param.type.name}}Null() const; + void set{{param.type.writeName}}Null(); + + {{/if}} {{/each}} @@ -29,13 +38,6 @@ private: {{#each e.requiredQueryParameters as |param|}} {{param.type.typeNameWithQualifiers}} {{param.type.memberName}}; - {{/each}} - - // Optional path parameters - - {{#each e.optionalPathParameters as |param|}} - {{param.type.typeNameWithQualifiers}} {{param.type.memberName}}; - {{/each}} // Optional query parameters diff --git a/core/codegen/loader_types_implementation.hbs b/core/codegen/loader_types_implementation.hbs new file mode 100644 index 0000000..6197dd0 --- /dev/null +++ b/core/codegen/loader_types_implementation.hbs @@ -0,0 +1,57 @@ +using namespace {{dtoNamespace}}; + +{{#each endpoints as |e|}} + +// {{e.name}} + +{{#each e.parameters as |param|}} + +{{#if param.required}} +const {{param.type.typeNameWithQualifiers}} &{{e.name}}::{{param.type.name}}() const { + return {{param.type.memberName}}; +} + +void {{e.name}}::set{{param.type.writeName}}({{param.type.typeNameWithQualifiers}} new{{param.type.writeName}}) { + + {{param.type.memberName}} = new{{param.type.writeName}}; +} + +{{else}} +const {{param.type.typeName}} &{{e.name}}::{{param.type.name}}() const { + + {{#if param.type.needsOptional}} + return {{param.type.memberName}}.value(); + + {{else}} + return {{param.type.memberName}}; + + {{/if}} +} + +void {{e.name}}::set{{param.type.writeName}}({{param.type.typeName}} new{{param.type.writeName}}) { + + {{param.type.memberName}} = new{{param.type.writeName}}; +} + +bool {{e.name}}::{{param.type.name}}Null() const { + // Nullable: {{param.type.isNullable}} + + // Type Nullable: {{param.type.isTypeNullable}} + + + + return {{param.type.nullableCheck}}; +} + +void {{e.name}}::set{{param.type.writeName}}Null() { + + {{param.type.memberName}}{{param.type.nullableSetter}}; +} + +{{/if}} + +{{/each}} + + + +{{/each}} diff --git a/core/include/JellyfinQt/apiclient.h b/core/include/JellyfinQt/apiclient.h index 060dd0a..099a7fe 100644 --- a/core/include/JellyfinQt/apiclient.h +++ b/core/include/JellyfinQt/apiclient.h @@ -95,6 +95,13 @@ public: Q_PROPERTY(EventBus *eventbus READ eventbus FINAL) Q_PROPERTY(WebSocket *websocket READ websocket FINAL) Q_PROPERTY(QList supportedCommands READ supportedCommands WRITE setSupportedCommands NOTIFY supportedCommandsChanged) + /** + * Wether this ApiClient operates in "online mode". + * + * When operating in offline mode, this client will not make network requests and only use a local cache, making + * certain features unavailable. + */ + Q_PROPERTY(bool online READ online NOTIFY onlineChanged) /*QNetworkReply *handleRequest(QString path, QStringList sort, Pagination *pagination, QVariantMap filters, QStringList fields, QStringList expand, QString id);*/ @@ -143,6 +150,7 @@ public: QString version() const; EventBus *eventbus() const { return m_eventbus; } WebSocket *websocket() const { return m_webSocket; } + bool online() const { return m_online; } /** * @brief Sets the error handler of a reply to this classes default error handler @@ -185,6 +193,7 @@ signals: void deviceProfileChanged(); void supportedCommandsChanged(); + void onlineChanged(); /** * @brief onUserDataChanged Emitted when the user data of an item is changed on the server. @@ -268,6 +277,7 @@ private: QString m_userId = ""; QJsonObject m_deviceProfile; QJsonObject m_playbackDeviceProfile; + bool m_online = true; QList m_supportedCommands; bool m_authenticated = false; diff --git a/core/include/JellyfinQt/apimodel.h b/core/include/JellyfinQt/apimodel.h index cc2d874..f8ad2ab 100644 --- a/core/include/JellyfinQt/apimodel.h +++ b/core/include/JellyfinQt/apimodel.h @@ -134,7 +134,6 @@ protected: QString m_path; bool m_hasRecordResponse; bool m_addUserId; - bool padding; bool padding2; // Query/record controlling properties int m_limit = -1; diff --git a/core/include/JellyfinQt/dto/basepluginconfiguration.h b/core/include/JellyfinQt/dto/basepluginconfiguration.h index e69de29..487cdcc 100644 --- a/core/include/JellyfinQt/dto/basepluginconfiguration.h +++ b/core/include/JellyfinQt/dto/basepluginconfiguration.h @@ -0,0 +1,44 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#ifndef JELLYFIN_DTO_BASEPLUGINCONFIGURATION_H +#define JELLYFIN_DTO_BASEPLUGINCONFIGURATION_H + +#include + +namespace Jellyfin { +namespace DTO { + +using BasePluginConfiguration = QJsonObject; + +} // NS DTO +} // NS Jellyfin + +#endif // JELLYFIN_DTO_BASEPLUGINCONFIGURATION_H +// No implementation needed diff --git a/core/include/JellyfinQt/dto/objectgroupupdate.h b/core/include/JellyfinQt/dto/objectgroupupdate.h index 777ff36..1efd085 100644 --- a/core/include/JellyfinQt/dto/objectgroupupdate.h +++ b/core/include/JellyfinQt/dto/objectgroupupdate.h @@ -80,8 +80,6 @@ public: * @brief Gets the update data. */ void setData(QVariant newData); - bool dataNull() const; - void setDataNull(); protected: diff --git a/core/include/JellyfinQt/loader/http/activate.h b/core/include/JellyfinQt/loader/http/activate.h index efa7660..3c31ebd 100644 --- a/core/include/JellyfinQt/loader/http/activate.h +++ b/core/include/JellyfinQt/loader/http/activate.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/addlistingprovider.h b/core/include/JellyfinQt/loader/http/addlistingprovider.h index 9c916ec..9cdd16f 100644 --- a/core/include/JellyfinQt/loader/http/addlistingprovider.h +++ b/core/include/JellyfinQt/loader/http/addlistingprovider.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/listingsproviderinfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class AddListingProvider : public Jellyfin::Support::HttpLoader { public: - explicit AddListingProvider(ApiClient *apiClient); + explicit AddListingProvider(ApiClient *apiClient = nullptr); protected: - QString url(const AddListingProviderParams& parameters) const override; + QString path(const AddListingProviderParams& parameters) const override; QUrlQuery query(const AddListingProviderParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/addmediapath.h b/core/include/JellyfinQt/loader/http/addmediapath.h index 9056474..ab71d6d 100644 --- a/core/include/JellyfinQt/loader/http/addmediapath.h +++ b/core/include/JellyfinQt/loader/http/addmediapath.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/addtocollection.h b/core/include/JellyfinQt/loader/http/addtocollection.h index 8b25a2b..6d1a672 100644 --- a/core/include/JellyfinQt/loader/http/addtocollection.h +++ b/core/include/JellyfinQt/loader/http/addtocollection.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/addtoplaylist.h b/core/include/JellyfinQt/loader/http/addtoplaylist.h index cba53dc..48da885 100644 --- a/core/include/JellyfinQt/loader/http/addtoplaylist.h +++ b/core/include/JellyfinQt/loader/http/addtoplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/addtunerhost.h b/core/include/JellyfinQt/loader/http/addtunerhost.h index cff6f65..0dd41ed 100644 --- a/core/include/JellyfinQt/loader/http/addtunerhost.h +++ b/core/include/JellyfinQt/loader/http/addtunerhost.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/tunerhostinfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class AddTunerHost : public Jellyfin::Support::HttpLoader { public: - explicit AddTunerHost(ApiClient *apiClient); + explicit AddTunerHost(ApiClient *apiClient = nullptr); protected: - QString url(const AddTunerHostParams& parameters) const override; + QString path(const AddTunerHostParams& parameters) const override; QUrlQuery query(const AddTunerHostParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/addusertosession.h b/core/include/JellyfinQt/loader/http/addusertosession.h index 033fa3f..8c4d3fb 100644 --- a/core/include/JellyfinQt/loader/http/addusertosession.h +++ b/core/include/JellyfinQt/loader/http/addusertosession.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/addvirtualfolder.h b/core/include/JellyfinQt/loader/http/addvirtualfolder.h index f622487..b2c8633 100644 --- a/core/include/JellyfinQt/loader/http/addvirtualfolder.h +++ b/core/include/JellyfinQt/loader/http/addvirtualfolder.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/applysearchcriteria.h b/core/include/JellyfinQt/loader/http/applysearchcriteria.h index b254169..2e21aef 100644 --- a/core/include/JellyfinQt/loader/http/applysearchcriteria.h +++ b/core/include/JellyfinQt/loader/http/applysearchcriteria.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/authenticateuser.h b/core/include/JellyfinQt/loader/http/authenticateuser.h index 6ee813a..24902c9 100644 --- a/core/include/JellyfinQt/loader/http/authenticateuser.h +++ b/core/include/JellyfinQt/loader/http/authenticateuser.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/authenticationresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class AuthenticateUser : public Jellyfin::Support::HttpLoader { public: - explicit AuthenticateUser(ApiClient *apiClient); + explicit AuthenticateUser(ApiClient *apiClient = nullptr); protected: - QString url(const AuthenticateUserParams& parameters) const override; + QString path(const AuthenticateUserParams& parameters) const override; QUrlQuery query(const AuthenticateUserParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/authenticateuserbyname.h b/core/include/JellyfinQt/loader/http/authenticateuserbyname.h index fed1faa..c51eca4 100644 --- a/core/include/JellyfinQt/loader/http/authenticateuserbyname.h +++ b/core/include/JellyfinQt/loader/http/authenticateuserbyname.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/authenticationresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class AuthenticateUserByName : public Jellyfin::Support::HttpLoader { public: - explicit AuthenticateUserByName(ApiClient *apiClient); + explicit AuthenticateUserByName(ApiClient *apiClient = nullptr); protected: - QString url(const AuthenticateUserByNameParams& parameters) const override; + QString path(const AuthenticateUserByNameParams& parameters) const override; QUrlQuery query(const AuthenticateUserByNameParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/authenticatewithquickconnect.h b/core/include/JellyfinQt/loader/http/authenticatewithquickconnect.h index 234cd93..6d01f77 100644 --- a/core/include/JellyfinQt/loader/http/authenticatewithquickconnect.h +++ b/core/include/JellyfinQt/loader/http/authenticatewithquickconnect.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/authenticationresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class AuthenticateWithQuickConnect : public Jellyfin::Support::HttpLoader { public: - explicit AuthenticateWithQuickConnect(ApiClient *apiClient); + explicit AuthenticateWithQuickConnect(ApiClient *apiClient = nullptr); protected: - QString url(const AuthenticateWithQuickConnectParams& parameters) const override; + QString path(const AuthenticateWithQuickConnectParams& parameters) const override; QUrlQuery query(const AuthenticateWithQuickConnectParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/authorize.h b/core/include/JellyfinQt/loader/http/authorize.h index be97f55..473eaf5 100644 --- a/core/include/JellyfinQt/loader/http/authorize.h +++ b/core/include/JellyfinQt/loader/http/authorize.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/available.h b/core/include/JellyfinQt/loader/http/available.h index 5d502f0..cfa3129 100644 --- a/core/include/JellyfinQt/loader/http/available.h +++ b/core/include/JellyfinQt/loader/http/available.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/cancelpackageinstallation.h b/core/include/JellyfinQt/loader/http/cancelpackageinstallation.h index efdaeea..37cd407 100644 --- a/core/include/JellyfinQt/loader/http/cancelpackageinstallation.h +++ b/core/include/JellyfinQt/loader/http/cancelpackageinstallation.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/cancelseriestimer.h b/core/include/JellyfinQt/loader/http/cancelseriestimer.h index 30ad4f6..5725350 100644 --- a/core/include/JellyfinQt/loader/http/cancelseriestimer.h +++ b/core/include/JellyfinQt/loader/http/cancelseriestimer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/canceltimer.h b/core/include/JellyfinQt/loader/http/canceltimer.h index 4e6b840..5841d13 100644 --- a/core/include/JellyfinQt/loader/http/canceltimer.h +++ b/core/include/JellyfinQt/loader/http/canceltimer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/closelivestream.h b/core/include/JellyfinQt/loader/http/closelivestream.h index 76bb6f0..d543d5f 100644 --- a/core/include/JellyfinQt/loader/http/closelivestream.h +++ b/core/include/JellyfinQt/loader/http/closelivestream.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/completewizard.h b/core/include/JellyfinQt/loader/http/completewizard.h index 57db74d..d61e198 100644 --- a/core/include/JellyfinQt/loader/http/completewizard.h +++ b/core/include/JellyfinQt/loader/http/completewizard.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/connect.h b/core/include/JellyfinQt/loader/http/connect.h index 193c760..73e6a0c 100644 --- a/core/include/JellyfinQt/loader/http/connect.h +++ b/core/include/JellyfinQt/loader/http/connect.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/quickconnectresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class Connect : public Jellyfin::Support::HttpLoader { public: - explicit Connect(ApiClient *apiClient); + explicit Connect(ApiClient *apiClient = nullptr); protected: - QString url(const ConnectParams& parameters) const override; + QString path(const ConnectParams& parameters) const override; QUrlQuery query(const ConnectParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/createadminnotification.h b/core/include/JellyfinQt/loader/http/createadminnotification.h index 59e4975..2a0b477 100644 --- a/core/include/JellyfinQt/loader/http/createadminnotification.h +++ b/core/include/JellyfinQt/loader/http/createadminnotification.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/createcollection.h b/core/include/JellyfinQt/loader/http/createcollection.h index b68fb5d..4039516 100644 --- a/core/include/JellyfinQt/loader/http/createcollection.h +++ b/core/include/JellyfinQt/loader/http/createcollection.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/collectioncreationresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class CreateCollection : public Jellyfin::Support::HttpLoader { public: - explicit CreateCollection(ApiClient *apiClient); + explicit CreateCollection(ApiClient *apiClient = nullptr); protected: - QString url(const CreateCollectionParams& parameters) const override; + QString path(const CreateCollectionParams& parameters) const override; QUrlQuery query(const CreateCollectionParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/createkey.h b/core/include/JellyfinQt/loader/http/createkey.h index 8b0194f..e8a7b97 100644 --- a/core/include/JellyfinQt/loader/http/createkey.h +++ b/core/include/JellyfinQt/loader/http/createkey.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/createplaylist.h b/core/include/JellyfinQt/loader/http/createplaylist.h index 2cfc227..9cc697a 100644 --- a/core/include/JellyfinQt/loader/http/createplaylist.h +++ b/core/include/JellyfinQt/loader/http/createplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/playlistcreationresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class CreatePlaylist : public Jellyfin::Support::HttpLoader { public: - explicit CreatePlaylist(ApiClient *apiClient); + explicit CreatePlaylist(ApiClient *apiClient = nullptr); protected: - QString url(const CreatePlaylistParams& parameters) const override; + QString path(const CreatePlaylistParams& parameters) const override; QUrlQuery query(const CreatePlaylistParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/createprofile.h b/core/include/JellyfinQt/loader/http/createprofile.h index 2f3c037..c3e21dc 100644 --- a/core/include/JellyfinQt/loader/http/createprofile.h +++ b/core/include/JellyfinQt/loader/http/createprofile.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/createseriestimer.h b/core/include/JellyfinQt/loader/http/createseriestimer.h index 93b3bfe..d18fb18 100644 --- a/core/include/JellyfinQt/loader/http/createseriestimer.h +++ b/core/include/JellyfinQt/loader/http/createseriestimer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/createtimer.h b/core/include/JellyfinQt/loader/http/createtimer.h index cd138e9..b47da7b 100644 --- a/core/include/JellyfinQt/loader/http/createtimer.h +++ b/core/include/JellyfinQt/loader/http/createtimer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/createuserbyname.h b/core/include/JellyfinQt/loader/http/createuserbyname.h index 1a894c7..fde9077 100644 --- a/core/include/JellyfinQt/loader/http/createuserbyname.h +++ b/core/include/JellyfinQt/loader/http/createuserbyname.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/userdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class CreateUserByName : public Jellyfin::Support::HttpLoader { public: - explicit CreateUserByName(ApiClient *apiClient); + explicit CreateUserByName(ApiClient *apiClient = nullptr); protected: - QString url(const CreateUserByNameParams& parameters) const override; + QString path(const CreateUserByNameParams& parameters) const override; QUrlQuery query(const CreateUserByNameParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/deauthorize.h b/core/include/JellyfinQt/loader/http/deauthorize.h index b4ddb69..0387ad2 100644 --- a/core/include/JellyfinQt/loader/http/deauthorize.h +++ b/core/include/JellyfinQt/loader/http/deauthorize.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deletealternatesources.h b/core/include/JellyfinQt/loader/http/deletealternatesources.h index 3763922..30b7e5a 100644 --- a/core/include/JellyfinQt/loader/http/deletealternatesources.h +++ b/core/include/JellyfinQt/loader/http/deletealternatesources.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deletedevice.h b/core/include/JellyfinQt/loader/http/deletedevice.h index cdf3c4a..44ba9b2 100644 --- a/core/include/JellyfinQt/loader/http/deletedevice.h +++ b/core/include/JellyfinQt/loader/http/deletedevice.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deleteitem.h b/core/include/JellyfinQt/loader/http/deleteitem.h index b1ba70d..8cc4aa6 100644 --- a/core/include/JellyfinQt/loader/http/deleteitem.h +++ b/core/include/JellyfinQt/loader/http/deleteitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deleteitemimage.h b/core/include/JellyfinQt/loader/http/deleteitemimage.h index c105f7d..dfd24b3 100644 --- a/core/include/JellyfinQt/loader/http/deleteitemimage.h +++ b/core/include/JellyfinQt/loader/http/deleteitemimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deleteitemimagebyindex.h b/core/include/JellyfinQt/loader/http/deleteitemimagebyindex.h index c502ea9..8c153f9 100644 --- a/core/include/JellyfinQt/loader/http/deleteitemimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/deleteitemimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deleteitems.h b/core/include/JellyfinQt/loader/http/deleteitems.h index 5a75358..1e2e831 100644 --- a/core/include/JellyfinQt/loader/http/deleteitems.h +++ b/core/include/JellyfinQt/loader/http/deleteitems.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deletelistingprovider.h b/core/include/JellyfinQt/loader/http/deletelistingprovider.h index 8076d92..3d8b612 100644 --- a/core/include/JellyfinQt/loader/http/deletelistingprovider.h +++ b/core/include/JellyfinQt/loader/http/deletelistingprovider.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deleteprofile.h b/core/include/JellyfinQt/loader/http/deleteprofile.h index 952d215..4c2e7a1 100644 --- a/core/include/JellyfinQt/loader/http/deleteprofile.h +++ b/core/include/JellyfinQt/loader/http/deleteprofile.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deleterecording.h b/core/include/JellyfinQt/loader/http/deleterecording.h index 419f493..5d97fbc 100644 --- a/core/include/JellyfinQt/loader/http/deleterecording.h +++ b/core/include/JellyfinQt/loader/http/deleterecording.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deletesubtitle.h b/core/include/JellyfinQt/loader/http/deletesubtitle.h index 2d5d2e0..0b3548c 100644 --- a/core/include/JellyfinQt/loader/http/deletesubtitle.h +++ b/core/include/JellyfinQt/loader/http/deletesubtitle.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deletetunerhost.h b/core/include/JellyfinQt/loader/http/deletetunerhost.h index ea1047e..8a02391 100644 --- a/core/include/JellyfinQt/loader/http/deletetunerhost.h +++ b/core/include/JellyfinQt/loader/http/deletetunerhost.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deleteuser.h b/core/include/JellyfinQt/loader/http/deleteuser.h index f626ca3..150e7a5 100644 --- a/core/include/JellyfinQt/loader/http/deleteuser.h +++ b/core/include/JellyfinQt/loader/http/deleteuser.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deleteuserimage.h b/core/include/JellyfinQt/loader/http/deleteuserimage.h index 982b738..691131a 100644 --- a/core/include/JellyfinQt/loader/http/deleteuserimage.h +++ b/core/include/JellyfinQt/loader/http/deleteuserimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deleteuserimagebyindex.h b/core/include/JellyfinQt/loader/http/deleteuserimagebyindex.h index dc50b8d..b8c2cfe 100644 --- a/core/include/JellyfinQt/loader/http/deleteuserimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/deleteuserimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/deleteuseritemrating.h b/core/include/JellyfinQt/loader/http/deleteuseritemrating.h index 8cf0ee2..8dda776 100644 --- a/core/include/JellyfinQt/loader/http/deleteuseritemrating.h +++ b/core/include/JellyfinQt/loader/http/deleteuseritemrating.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/useritemdatadto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class DeleteUserItemRating : public Jellyfin::Support::HttpLoader { public: - explicit DeleteUserItemRating(ApiClient *apiClient); + explicit DeleteUserItemRating(ApiClient *apiClient = nullptr); protected: - QString url(const DeleteUserItemRatingParams& parameters) const override; + QString path(const DeleteUserItemRatingParams& parameters) const override; QUrlQuery query(const DeleteUserItemRatingParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/disableplugin.h b/core/include/JellyfinQt/loader/http/disableplugin.h index 23d2886..7494f7f 100644 --- a/core/include/JellyfinQt/loader/http/disableplugin.h +++ b/core/include/JellyfinQt/loader/http/disableplugin.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/discovertuners.h b/core/include/JellyfinQt/loader/http/discovertuners.h index 50c08bd..ccc0461 100644 --- a/core/include/JellyfinQt/loader/http/discovertuners.h +++ b/core/include/JellyfinQt/loader/http/discovertuners.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/discvovertuners.h b/core/include/JellyfinQt/loader/http/discvovertuners.h index d6b3e51..e52c85d 100644 --- a/core/include/JellyfinQt/loader/http/discvovertuners.h +++ b/core/include/JellyfinQt/loader/http/discvovertuners.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/displaycontent.h b/core/include/JellyfinQt/loader/http/displaycontent.h index 36645ee..18e5a96 100644 --- a/core/include/JellyfinQt/loader/http/displaycontent.h +++ b/core/include/JellyfinQt/loader/http/displaycontent.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/downloadremoteimage.h b/core/include/JellyfinQt/loader/http/downloadremoteimage.h index f46d64d..700a0a5 100644 --- a/core/include/JellyfinQt/loader/http/downloadremoteimage.h +++ b/core/include/JellyfinQt/loader/http/downloadremoteimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/downloadremotesubtitles.h b/core/include/JellyfinQt/loader/http/downloadremotesubtitles.h index c244713..ea37139 100644 --- a/core/include/JellyfinQt/loader/http/downloadremotesubtitles.h +++ b/core/include/JellyfinQt/loader/http/downloadremotesubtitles.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/enableplugin.h b/core/include/JellyfinQt/loader/http/enableplugin.h index 06258c2..90b7993 100644 --- a/core/include/JellyfinQt/loader/http/enableplugin.h +++ b/core/include/JellyfinQt/loader/http/enableplugin.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/forgotpassword.h b/core/include/JellyfinQt/loader/http/forgotpassword.h index ead794d..27d332d 100644 --- a/core/include/JellyfinQt/loader/http/forgotpassword.h +++ b/core/include/JellyfinQt/loader/http/forgotpassword.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/forgotpasswordresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class ForgotPassword : public Jellyfin::Support::HttpLoader { public: - explicit ForgotPassword(ApiClient *apiClient); + explicit ForgotPassword(ApiClient *apiClient = nullptr); protected: - QString url(const ForgotPasswordParams& parameters) const override; + QString path(const ForgotPasswordParams& parameters) const override; QUrlQuery query(const ForgotPasswordParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/forgotpasswordpin.h b/core/include/JellyfinQt/loader/http/forgotpasswordpin.h index 8db5bb3..30e3912 100644 --- a/core/include/JellyfinQt/loader/http/forgotpasswordpin.h +++ b/core/include/JellyfinQt/loader/http/forgotpasswordpin.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/pinredeemresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class ForgotPasswordPin : public Jellyfin::Support::HttpLoader { public: - explicit ForgotPasswordPin(ApiClient *apiClient); + explicit ForgotPasswordPin(ApiClient *apiClient = nullptr); protected: - QString url(const ForgotPasswordPinParams& parameters) const override; + QString path(const ForgotPasswordPinParams& parameters) const override; QUrlQuery query(const ForgotPasswordPinParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/get.h b/core/include/JellyfinQt/loader/http/get.h index e3b2af1..99f62b2 100644 --- a/core/include/JellyfinQt/loader/http/get.h +++ b/core/include/JellyfinQt/loader/http/get.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/searchhintresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class Get : public Jellyfin::Support::HttpLoader { public: - explicit Get(ApiClient *apiClient); + explicit Get(ApiClient *apiClient = nullptr); protected: - QString url(const GetParams& parameters) const override; + QString path(const GetParams& parameters) const override; QUrlQuery query(const GetParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getadditionalpart.h b/core/include/JellyfinQt/loader/http/getadditionalpart.h index 458e1ca..d7b37c3 100644 --- a/core/include/JellyfinQt/loader/http/getadditionalpart.h +++ b/core/include/JellyfinQt/loader/http/getadditionalpart.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetAdditionalPart : public Jellyfin::Support::HttpLoader { public: - explicit GetAdditionalPart(ApiClient *apiClient); + explicit GetAdditionalPart(ApiClient *apiClient = nullptr); protected: - QString url(const GetAdditionalPartParams& parameters) const override; + QString path(const GetAdditionalPartParams& parameters) const override; QUrlQuery query(const GetAdditionalPartParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getalbumartists.h b/core/include/JellyfinQt/loader/http/getalbumartists.h index 6b2e63e..9fbe27c 100644 --- a/core/include/JellyfinQt/loader/http/getalbumartists.h +++ b/core/include/JellyfinQt/loader/http/getalbumartists.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetAlbumArtists : public Jellyfin::Support::HttpLoader { public: - explicit GetAlbumArtists(ApiClient *apiClient); + explicit GetAlbumArtists(ApiClient *apiClient = nullptr); protected: - QString url(const GetAlbumArtistsParams& parameters) const override; + QString path(const GetAlbumArtistsParams& parameters) const override; QUrlQuery query(const GetAlbumArtistsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getallchannelfeatures.h b/core/include/JellyfinQt/loader/http/getallchannelfeatures.h index f634140..5ff5e7c 100644 --- a/core/include/JellyfinQt/loader/http/getallchannelfeatures.h +++ b/core/include/JellyfinQt/loader/http/getallchannelfeatures.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getancestors.h b/core/include/JellyfinQt/loader/http/getancestors.h index 9ff3c5d..198ddc2 100644 --- a/core/include/JellyfinQt/loader/http/getancestors.h +++ b/core/include/JellyfinQt/loader/http/getancestors.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getartistbyname.h b/core/include/JellyfinQt/loader/http/getartistbyname.h index 88f2f0a..733de2a 100644 --- a/core/include/JellyfinQt/loader/http/getartistbyname.h +++ b/core/include/JellyfinQt/loader/http/getartistbyname.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetArtistByName : public Jellyfin::Support::HttpLoader { public: - explicit GetArtistByName(ApiClient *apiClient); + explicit GetArtistByName(ApiClient *apiClient = nullptr); protected: - QString url(const GetArtistByNameParams& parameters) const override; + QString path(const GetArtistByNameParams& parameters) const override; QUrlQuery query(const GetArtistByNameParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getartistimage.h b/core/include/JellyfinQt/loader/http/getartistimage.h index a480c54..43249c8 100644 --- a/core/include/JellyfinQt/loader/http/getartistimage.h +++ b/core/include/JellyfinQt/loader/http/getartistimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getartists.h b/core/include/JellyfinQt/loader/http/getartists.h index ac50fb1..1ffbcab 100644 --- a/core/include/JellyfinQt/loader/http/getartists.h +++ b/core/include/JellyfinQt/loader/http/getartists.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetArtists : public Jellyfin::Support::HttpLoader { public: - explicit GetArtists(ApiClient *apiClient); + explicit GetArtists(ApiClient *apiClient = nullptr); protected: - QString url(const GetArtistsParams& parameters) const override; + QString path(const GetArtistsParams& parameters) const override; QUrlQuery query(const GetArtistsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getattachment.h b/core/include/JellyfinQt/loader/http/getattachment.h index b1765f3..dd336e9 100644 --- a/core/include/JellyfinQt/loader/http/getattachment.h +++ b/core/include/JellyfinQt/loader/http/getattachment.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getaudiostream.h b/core/include/JellyfinQt/loader/http/getaudiostream.h index 6374a0e..0ba2452 100644 --- a/core/include/JellyfinQt/loader/http/getaudiostream.h +++ b/core/include/JellyfinQt/loader/http/getaudiostream.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getaudiostreambycontainer.h b/core/include/JellyfinQt/loader/http/getaudiostreambycontainer.h index ca6cf21..55cb133 100644 --- a/core/include/JellyfinQt/loader/http/getaudiostreambycontainer.h +++ b/core/include/JellyfinQt/loader/http/getaudiostreambycontainer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getauthproviders.h b/core/include/JellyfinQt/loader/http/getauthproviders.h index 8057e44..8540c11 100644 --- a/core/include/JellyfinQt/loader/http/getauthproviders.h +++ b/core/include/JellyfinQt/loader/http/getauthproviders.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getbitratetestbytes.h b/core/include/JellyfinQt/loader/http/getbitratetestbytes.h index 7e7e1d4..7b3b4d3 100644 --- a/core/include/JellyfinQt/loader/http/getbitratetestbytes.h +++ b/core/include/JellyfinQt/loader/http/getbitratetestbytes.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getbookremotesearchresults.h b/core/include/JellyfinQt/loader/http/getbookremotesearchresults.h index 6de9e62..0f362d1 100644 --- a/core/include/JellyfinQt/loader/http/getbookremotesearchresults.h +++ b/core/include/JellyfinQt/loader/http/getbookremotesearchresults.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getboxsetremotesearchresults.h b/core/include/JellyfinQt/loader/http/getboxsetremotesearchresults.h index a7dac35..0e14894 100644 --- a/core/include/JellyfinQt/loader/http/getboxsetremotesearchresults.h +++ b/core/include/JellyfinQt/loader/http/getboxsetremotesearchresults.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getbrandingcss.h b/core/include/JellyfinQt/loader/http/getbrandingcss.h index 7e0f36f..a045d42 100644 --- a/core/include/JellyfinQt/loader/http/getbrandingcss.h +++ b/core/include/JellyfinQt/loader/http/getbrandingcss.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getbrandingcss_2.h b/core/include/JellyfinQt/loader/http/getbrandingcss_2.h index 423c3c6..f820a01 100644 --- a/core/include/JellyfinQt/loader/http/getbrandingcss_2.h +++ b/core/include/JellyfinQt/loader/http/getbrandingcss_2.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getbrandingoptions.h b/core/include/JellyfinQt/loader/http/getbrandingoptions.h index 4528a72..adde201 100644 --- a/core/include/JellyfinQt/loader/http/getbrandingoptions.h +++ b/core/include/JellyfinQt/loader/http/getbrandingoptions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/brandingoptions.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetBrandingOptions : public Jellyfin::Support::HttpLoader { public: - explicit GetBrandingOptions(ApiClient *apiClient); + explicit GetBrandingOptions(ApiClient *apiClient = nullptr); protected: - QString url(const GetBrandingOptionsParams& parameters) const override; + QString path(const GetBrandingOptionsParams& parameters) const override; QUrlQuery query(const GetBrandingOptionsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getchannel.h b/core/include/JellyfinQt/loader/http/getchannel.h index 161a1f9..3e6bd5a 100644 --- a/core/include/JellyfinQt/loader/http/getchannel.h +++ b/core/include/JellyfinQt/loader/http/getchannel.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetChannel : public Jellyfin::Support::HttpLoader { public: - explicit GetChannel(ApiClient *apiClient); + explicit GetChannel(ApiClient *apiClient = nullptr); protected: - QString url(const GetChannelParams& parameters) const override; + QString path(const GetChannelParams& parameters) const override; QUrlQuery query(const GetChannelParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getchannelfeatures.h b/core/include/JellyfinQt/loader/http/getchannelfeatures.h index 4ef97fa..ac81a5f 100644 --- a/core/include/JellyfinQt/loader/http/getchannelfeatures.h +++ b/core/include/JellyfinQt/loader/http/getchannelfeatures.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/channelfeatures.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetChannelFeatures : public Jellyfin::Support::HttpLoader { public: - explicit GetChannelFeatures(ApiClient *apiClient); + explicit GetChannelFeatures(ApiClient *apiClient = nullptr); protected: - QString url(const GetChannelFeaturesParams& parameters) const override; + QString path(const GetChannelFeaturesParams& parameters) const override; QUrlQuery query(const GetChannelFeaturesParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getchannelitems.h b/core/include/JellyfinQt/loader/http/getchannelitems.h index e8f6e1f..dd94c58 100644 --- a/core/include/JellyfinQt/loader/http/getchannelitems.h +++ b/core/include/JellyfinQt/loader/http/getchannelitems.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetChannelItems : public Jellyfin::Support::HttpLoader { public: - explicit GetChannelItems(ApiClient *apiClient); + explicit GetChannelItems(ApiClient *apiClient = nullptr); protected: - QString url(const GetChannelItemsParams& parameters) const override; + QString path(const GetChannelItemsParams& parameters) const override; QUrlQuery query(const GetChannelItemsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getchannelmappingoptions.h b/core/include/JellyfinQt/loader/http/getchannelmappingoptions.h index 02307f7..307a628 100644 --- a/core/include/JellyfinQt/loader/http/getchannelmappingoptions.h +++ b/core/include/JellyfinQt/loader/http/getchannelmappingoptions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/channelmappingoptionsdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetChannelMappingOptions : public Jellyfin::Support::HttpLoader { public: - explicit GetChannelMappingOptions(ApiClient *apiClient); + explicit GetChannelMappingOptions(ApiClient *apiClient = nullptr); protected: - QString url(const GetChannelMappingOptionsParams& parameters) const override; + QString path(const GetChannelMappingOptionsParams& parameters) const override; QUrlQuery query(const GetChannelMappingOptionsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getchannels.h b/core/include/JellyfinQt/loader/http/getchannels.h index fed609f..0e75694 100644 --- a/core/include/JellyfinQt/loader/http/getchannels.h +++ b/core/include/JellyfinQt/loader/http/getchannels.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetChannels : public Jellyfin::Support::HttpLoader { public: - explicit GetChannels(ApiClient *apiClient); + explicit GetChannels(ApiClient *apiClient = nullptr); protected: - QString url(const GetChannelsParams& parameters) const override; + QString path(const GetChannelsParams& parameters) const override; QUrlQuery query(const GetChannelsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getconfiguration.h b/core/include/JellyfinQt/loader/http/getconfiguration.h index f4c9b4c..002034b 100644 --- a/core/include/JellyfinQt/loader/http/getconfiguration.h +++ b/core/include/JellyfinQt/loader/http/getconfiguration.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/serverconfiguration.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetConfiguration : public Jellyfin::Support::HttpLoader { public: - explicit GetConfiguration(ApiClient *apiClient); + explicit GetConfiguration(ApiClient *apiClient = nullptr); protected: - QString url(const GetConfigurationParams& parameters) const override; + QString path(const GetConfigurationParams& parameters) const override; QUrlQuery query(const GetConfigurationParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getconfigurationpages.h b/core/include/JellyfinQt/loader/http/getconfigurationpages.h index 2a9768b..82c09c6 100644 --- a/core/include/JellyfinQt/loader/http/getconfigurationpages.h +++ b/core/include/JellyfinQt/loader/http/getconfigurationpages.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getconnectionmanager.h b/core/include/JellyfinQt/loader/http/getconnectionmanager.h index e1368e1..bedc2fb 100644 --- a/core/include/JellyfinQt/loader/http/getconnectionmanager.h +++ b/core/include/JellyfinQt/loader/http/getconnectionmanager.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getconnectionmanager_2.h b/core/include/JellyfinQt/loader/http/getconnectionmanager_2.h index dfba6ed..10be1ad 100644 --- a/core/include/JellyfinQt/loader/http/getconnectionmanager_2.h +++ b/core/include/JellyfinQt/loader/http/getconnectionmanager_2.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getconnectionmanager_3.h b/core/include/JellyfinQt/loader/http/getconnectionmanager_3.h index 1c0f1bf..07519ad 100644 --- a/core/include/JellyfinQt/loader/http/getconnectionmanager_3.h +++ b/core/include/JellyfinQt/loader/http/getconnectionmanager_3.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getcontentdirectory.h b/core/include/JellyfinQt/loader/http/getcontentdirectory.h index 4bbcd24..c6586e1 100644 --- a/core/include/JellyfinQt/loader/http/getcontentdirectory.h +++ b/core/include/JellyfinQt/loader/http/getcontentdirectory.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getcontentdirectory_2.h b/core/include/JellyfinQt/loader/http/getcontentdirectory_2.h index d83869e..989e8f4 100644 --- a/core/include/JellyfinQt/loader/http/getcontentdirectory_2.h +++ b/core/include/JellyfinQt/loader/http/getcontentdirectory_2.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getcontentdirectory_3.h b/core/include/JellyfinQt/loader/http/getcontentdirectory_3.h index d509ed8..a0f0f6e 100644 --- a/core/include/JellyfinQt/loader/http/getcontentdirectory_3.h +++ b/core/include/JellyfinQt/loader/http/getcontentdirectory_3.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getcountries.h b/core/include/JellyfinQt/loader/http/getcountries.h index b4301bc..803a84a 100644 --- a/core/include/JellyfinQt/loader/http/getcountries.h +++ b/core/include/JellyfinQt/loader/http/getcountries.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getcriticreviews.h b/core/include/JellyfinQt/loader/http/getcriticreviews.h index 831a04e..12e0558 100644 --- a/core/include/JellyfinQt/loader/http/getcriticreviews.h +++ b/core/include/JellyfinQt/loader/http/getcriticreviews.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetCriticReviews : public Jellyfin::Support::HttpLoader { public: - explicit GetCriticReviews(ApiClient *apiClient); + explicit GetCriticReviews(ApiClient *apiClient = nullptr); protected: - QString url(const GetCriticReviewsParams& parameters) const override; + QString path(const GetCriticReviewsParams& parameters) const override; QUrlQuery query(const GetCriticReviewsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getcultures.h b/core/include/JellyfinQt/loader/http/getcultures.h index 835fa62..7a205e7 100644 --- a/core/include/JellyfinQt/loader/http/getcultures.h +++ b/core/include/JellyfinQt/loader/http/getcultures.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getcurrentuser.h b/core/include/JellyfinQt/loader/http/getcurrentuser.h index 9605140..66a9c4f 100644 --- a/core/include/JellyfinQt/loader/http/getcurrentuser.h +++ b/core/include/JellyfinQt/loader/http/getcurrentuser.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/userdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetCurrentUser : public Jellyfin::Support::HttpLoader { public: - explicit GetCurrentUser(ApiClient *apiClient); + explicit GetCurrentUser(ApiClient *apiClient = nullptr); protected: - QString url(const GetCurrentUserParams& parameters) const override; + QString path(const GetCurrentUserParams& parameters) const override; QUrlQuery query(const GetCurrentUserParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getdashboardconfigurationpage.h b/core/include/JellyfinQt/loader/http/getdashboardconfigurationpage.h index b1f3b18..5ab61a8 100644 --- a/core/include/JellyfinQt/loader/http/getdashboardconfigurationpage.h +++ b/core/include/JellyfinQt/loader/http/getdashboardconfigurationpage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getdefaultdirectorybrowser.h b/core/include/JellyfinQt/loader/http/getdefaultdirectorybrowser.h index 8726620..edea2a4 100644 --- a/core/include/JellyfinQt/loader/http/getdefaultdirectorybrowser.h +++ b/core/include/JellyfinQt/loader/http/getdefaultdirectorybrowser.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/defaultdirectorybrowserinfodto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetDefaultDirectoryBrowser : public Jellyfin::Support::HttpLoader { public: - explicit GetDefaultDirectoryBrowser(ApiClient *apiClient); + explicit GetDefaultDirectoryBrowser(ApiClient *apiClient = nullptr); protected: - QString url(const GetDefaultDirectoryBrowserParams& parameters) const override; + QString path(const GetDefaultDirectoryBrowserParams& parameters) const override; QUrlQuery query(const GetDefaultDirectoryBrowserParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getdefaultlistingprovider.h b/core/include/JellyfinQt/loader/http/getdefaultlistingprovider.h index c23f4e5..2a21891 100644 --- a/core/include/JellyfinQt/loader/http/getdefaultlistingprovider.h +++ b/core/include/JellyfinQt/loader/http/getdefaultlistingprovider.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/listingsproviderinfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetDefaultListingProvider : public Jellyfin::Support::HttpLoader { public: - explicit GetDefaultListingProvider(ApiClient *apiClient); + explicit GetDefaultListingProvider(ApiClient *apiClient = nullptr); protected: - QString url(const GetDefaultListingProviderParams& parameters) const override; + QString path(const GetDefaultListingProviderParams& parameters) const override; QUrlQuery query(const GetDefaultListingProviderParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getdefaultmetadataoptions.h b/core/include/JellyfinQt/loader/http/getdefaultmetadataoptions.h index f60e413..08a846e 100644 --- a/core/include/JellyfinQt/loader/http/getdefaultmetadataoptions.h +++ b/core/include/JellyfinQt/loader/http/getdefaultmetadataoptions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/metadataoptions.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetDefaultMetadataOptions : public Jellyfin::Support::HttpLoader { public: - explicit GetDefaultMetadataOptions(ApiClient *apiClient); + explicit GetDefaultMetadataOptions(ApiClient *apiClient = nullptr); protected: - QString url(const GetDefaultMetadataOptionsParams& parameters) const override; + QString path(const GetDefaultMetadataOptionsParams& parameters) const override; QUrlQuery query(const GetDefaultMetadataOptionsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getdefaultprofile.h b/core/include/JellyfinQt/loader/http/getdefaultprofile.h index 973cd5a..efd4960 100644 --- a/core/include/JellyfinQt/loader/http/getdefaultprofile.h +++ b/core/include/JellyfinQt/loader/http/getdefaultprofile.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/deviceprofile.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetDefaultProfile : public Jellyfin::Support::HttpLoader { public: - explicit GetDefaultProfile(ApiClient *apiClient); + explicit GetDefaultProfile(ApiClient *apiClient = nullptr); protected: - QString url(const GetDefaultProfileParams& parameters) const override; + QString path(const GetDefaultProfileParams& parameters) const override; QUrlQuery query(const GetDefaultProfileParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getdefaulttimer.h b/core/include/JellyfinQt/loader/http/getdefaulttimer.h index 84ddbdf..c5ee991 100644 --- a/core/include/JellyfinQt/loader/http/getdefaulttimer.h +++ b/core/include/JellyfinQt/loader/http/getdefaulttimer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/seriestimerinfodto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetDefaultTimer : public Jellyfin::Support::HttpLoader { public: - explicit GetDefaultTimer(ApiClient *apiClient); + explicit GetDefaultTimer(ApiClient *apiClient = nullptr); protected: - QString url(const GetDefaultTimerParams& parameters) const override; + QString path(const GetDefaultTimerParams& parameters) const override; QUrlQuery query(const GetDefaultTimerParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getdescriptionxml.h b/core/include/JellyfinQt/loader/http/getdescriptionxml.h index 8d8c4e9..ac979b9 100644 --- a/core/include/JellyfinQt/loader/http/getdescriptionxml.h +++ b/core/include/JellyfinQt/loader/http/getdescriptionxml.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getdescriptionxml_2.h b/core/include/JellyfinQt/loader/http/getdescriptionxml_2.h index 29a2233..f0002ae 100644 --- a/core/include/JellyfinQt/loader/http/getdescriptionxml_2.h +++ b/core/include/JellyfinQt/loader/http/getdescriptionxml_2.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getdeviceinfo.h b/core/include/JellyfinQt/loader/http/getdeviceinfo.h index 9252adb..714e92c 100644 --- a/core/include/JellyfinQt/loader/http/getdeviceinfo.h +++ b/core/include/JellyfinQt/loader/http/getdeviceinfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/deviceinfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetDeviceInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetDeviceInfo(ApiClient *apiClient); + explicit GetDeviceInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetDeviceInfoParams& parameters) const override; + QString path(const GetDeviceInfoParams& parameters) const override; QUrlQuery query(const GetDeviceInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getdeviceoptions.h b/core/include/JellyfinQt/loader/http/getdeviceoptions.h index 1b6b86f..a5a8356 100644 --- a/core/include/JellyfinQt/loader/http/getdeviceoptions.h +++ b/core/include/JellyfinQt/loader/http/getdeviceoptions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/deviceoptions.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetDeviceOptions : public Jellyfin::Support::HttpLoader { public: - explicit GetDeviceOptions(ApiClient *apiClient); + explicit GetDeviceOptions(ApiClient *apiClient = nullptr); protected: - QString url(const GetDeviceOptionsParams& parameters) const override; + QString path(const GetDeviceOptionsParams& parameters) const override; QUrlQuery query(const GetDeviceOptionsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getdevices.h b/core/include/JellyfinQt/loader/http/getdevices.h index f3bfa44..6af6773 100644 --- a/core/include/JellyfinQt/loader/http/getdevices.h +++ b/core/include/JellyfinQt/loader/http/getdevices.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/deviceinfoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetDevices : public Jellyfin::Support::HttpLoader { public: - explicit GetDevices(ApiClient *apiClient); + explicit GetDevices(ApiClient *apiClient = nullptr); protected: - QString url(const GetDevicesParams& parameters) const override; + QString path(const GetDevicesParams& parameters) const override; QUrlQuery query(const GetDevicesParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getdirectorycontents.h b/core/include/JellyfinQt/loader/http/getdirectorycontents.h index 30aa925..32f7a73 100644 --- a/core/include/JellyfinQt/loader/http/getdirectorycontents.h +++ b/core/include/JellyfinQt/loader/http/getdirectorycontents.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getdisplaypreferences.h b/core/include/JellyfinQt/loader/http/getdisplaypreferences.h index 39c9709..cb6a65f 100644 --- a/core/include/JellyfinQt/loader/http/getdisplaypreferences.h +++ b/core/include/JellyfinQt/loader/http/getdisplaypreferences.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/displaypreferencesdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetDisplayPreferences : public Jellyfin::Support::HttpLoader { public: - explicit GetDisplayPreferences(ApiClient *apiClient); + explicit GetDisplayPreferences(ApiClient *apiClient = nullptr); protected: - QString url(const GetDisplayPreferencesParams& parameters) const override; + QString path(const GetDisplayPreferencesParams& parameters) const override; QUrlQuery query(const GetDisplayPreferencesParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getdownload.h b/core/include/JellyfinQt/loader/http/getdownload.h index 4f9ff93..5a7aa33 100644 --- a/core/include/JellyfinQt/loader/http/getdownload.h +++ b/core/include/JellyfinQt/loader/http/getdownload.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getdrives.h b/core/include/JellyfinQt/loader/http/getdrives.h index 1a4d293..4c6d721 100644 --- a/core/include/JellyfinQt/loader/http/getdrives.h +++ b/core/include/JellyfinQt/loader/http/getdrives.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getendpointinfo.h b/core/include/JellyfinQt/loader/http/getendpointinfo.h index 2c132dc..96f235a 100644 --- a/core/include/JellyfinQt/loader/http/getendpointinfo.h +++ b/core/include/JellyfinQt/loader/http/getendpointinfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/endpointinfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetEndpointInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetEndpointInfo(ApiClient *apiClient); + explicit GetEndpointInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetEndpointInfoParams& parameters) const override; + QString path(const GetEndpointInfoParams& parameters) const override; QUrlQuery query(const GetEndpointInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getepisodes.h b/core/include/JellyfinQt/loader/http/getepisodes.h index db0f948..f04ce7d 100644 --- a/core/include/JellyfinQt/loader/http/getepisodes.h +++ b/core/include/JellyfinQt/loader/http/getepisodes.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetEpisodes : public Jellyfin::Support::HttpLoader { public: - explicit GetEpisodes(ApiClient *apiClient); + explicit GetEpisodes(ApiClient *apiClient = nullptr); protected: - QString url(const GetEpisodesParams& parameters) const override; + QString path(const GetEpisodesParams& parameters) const override; QUrlQuery query(const GetEpisodesParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getexternalidinfos.h b/core/include/JellyfinQt/loader/http/getexternalidinfos.h index e8f0735..9f54dc6 100644 --- a/core/include/JellyfinQt/loader/http/getexternalidinfos.h +++ b/core/include/JellyfinQt/loader/http/getexternalidinfos.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getfallbackfont.h b/core/include/JellyfinQt/loader/http/getfallbackfont.h index 76fe951..2f0ee4c 100644 --- a/core/include/JellyfinQt/loader/http/getfallbackfont.h +++ b/core/include/JellyfinQt/loader/http/getfallbackfont.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getfallbackfontlist.h b/core/include/JellyfinQt/loader/http/getfallbackfontlist.h index 6d3b0cd..5694c32 100644 --- a/core/include/JellyfinQt/loader/http/getfallbackfontlist.h +++ b/core/include/JellyfinQt/loader/http/getfallbackfontlist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getfile.h b/core/include/JellyfinQt/loader/http/getfile.h index fc584e8..ab8d18e 100644 --- a/core/include/JellyfinQt/loader/http/getfile.h +++ b/core/include/JellyfinQt/loader/http/getfile.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getfirstuser.h b/core/include/JellyfinQt/loader/http/getfirstuser.h index 6e95db7..b3a5cd7 100644 --- a/core/include/JellyfinQt/loader/http/getfirstuser.h +++ b/core/include/JellyfinQt/loader/http/getfirstuser.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/startupuserdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetFirstUser : public Jellyfin::Support::HttpLoader { public: - explicit GetFirstUser(ApiClient *apiClient); + explicit GetFirstUser(ApiClient *apiClient = nullptr); protected: - QString url(const GetFirstUserParams& parameters) const override; + QString path(const GetFirstUserParams& parameters) const override; QUrlQuery query(const GetFirstUserParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getfirstuser_2.h b/core/include/JellyfinQt/loader/http/getfirstuser_2.h index 8ae7135..6610c06 100644 --- a/core/include/JellyfinQt/loader/http/getfirstuser_2.h +++ b/core/include/JellyfinQt/loader/http/getfirstuser_2.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/startupuserdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetFirstUser_2 : public Jellyfin::Support::HttpLoader { public: - explicit GetFirstUser_2(ApiClient *apiClient); + explicit GetFirstUser_2(ApiClient *apiClient = nullptr); protected: - QString url(const GetFirstUser_2Params& parameters) const override; + QString path(const GetFirstUser_2Params& parameters) const override; QUrlQuery query(const GetFirstUser_2Params& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getgeneralimage.h b/core/include/JellyfinQt/loader/http/getgeneralimage.h index d388ded..3eb1c05 100644 --- a/core/include/JellyfinQt/loader/http/getgeneralimage.h +++ b/core/include/JellyfinQt/loader/http/getgeneralimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getgeneralimages.h b/core/include/JellyfinQt/loader/http/getgeneralimages.h index 91776db..5738e8f 100644 --- a/core/include/JellyfinQt/loader/http/getgeneralimages.h +++ b/core/include/JellyfinQt/loader/http/getgeneralimages.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getgenre.h b/core/include/JellyfinQt/loader/http/getgenre.h index 83188bf..c1c7c93 100644 --- a/core/include/JellyfinQt/loader/http/getgenre.h +++ b/core/include/JellyfinQt/loader/http/getgenre.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetGenre : public Jellyfin::Support::HttpLoader { public: - explicit GetGenre(ApiClient *apiClient); + explicit GetGenre(ApiClient *apiClient = nullptr); protected: - QString url(const GetGenreParams& parameters) const override; + QString path(const GetGenreParams& parameters) const override; QUrlQuery query(const GetGenreParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getgenreimage.h b/core/include/JellyfinQt/loader/http/getgenreimage.h index 702e511..06017b1 100644 --- a/core/include/JellyfinQt/loader/http/getgenreimage.h +++ b/core/include/JellyfinQt/loader/http/getgenreimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getgenreimagebyindex.h b/core/include/JellyfinQt/loader/http/getgenreimagebyindex.h index 8bda0e4..9cbdfda 100644 --- a/core/include/JellyfinQt/loader/http/getgenreimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/getgenreimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getgenres.h b/core/include/JellyfinQt/loader/http/getgenres.h index 172f39e..070472b 100644 --- a/core/include/JellyfinQt/loader/http/getgenres.h +++ b/core/include/JellyfinQt/loader/http/getgenres.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetGenres : public Jellyfin::Support::HttpLoader { public: - explicit GetGenres(ApiClient *apiClient); + explicit GetGenres(ApiClient *apiClient = nullptr); protected: - QString url(const GetGenresParams& parameters) const override; + QString path(const GetGenresParams& parameters) const override; QUrlQuery query(const GetGenresParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getgroupingoptions.h b/core/include/JellyfinQt/loader/http/getgroupingoptions.h index 8063833..1e41da1 100644 --- a/core/include/JellyfinQt/loader/http/getgroupingoptions.h +++ b/core/include/JellyfinQt/loader/http/getgroupingoptions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getguideinfo.h b/core/include/JellyfinQt/loader/http/getguideinfo.h index ae9154d..0960e25 100644 --- a/core/include/JellyfinQt/loader/http/getguideinfo.h +++ b/core/include/JellyfinQt/loader/http/getguideinfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/guideinfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetGuideInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetGuideInfo(ApiClient *apiClient); + explicit GetGuideInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetGuideInfoParams& parameters) const override; + QString path(const GetGuideInfoParams& parameters) const override; QUrlQuery query(const GetGuideInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/gethlsaudiosegment.h b/core/include/JellyfinQt/loader/http/gethlsaudiosegment.h index b696ef5..4c9f446 100644 --- a/core/include/JellyfinQt/loader/http/gethlsaudiosegment.h +++ b/core/include/JellyfinQt/loader/http/gethlsaudiosegment.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacyaac.h b/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacyaac.h index 1cf7164..fba3c76 100644 --- a/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacyaac.h +++ b/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacyaac.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacymp3.h b/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacymp3.h index ca35bae..03f60fd 100644 --- a/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacymp3.h +++ b/core/include/JellyfinQt/loader/http/gethlsaudiosegmentlegacymp3.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/gethlsplaylistlegacy.h b/core/include/JellyfinQt/loader/http/gethlsplaylistlegacy.h index 462889d..f0d2df6 100644 --- a/core/include/JellyfinQt/loader/http/gethlsplaylistlegacy.h +++ b/core/include/JellyfinQt/loader/http/gethlsplaylistlegacy.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/gethlsvideosegment.h b/core/include/JellyfinQt/loader/http/gethlsvideosegment.h index 33cddd7..615038b 100644 --- a/core/include/JellyfinQt/loader/http/gethlsvideosegment.h +++ b/core/include/JellyfinQt/loader/http/gethlsvideosegment.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/gethlsvideosegmentlegacy.h b/core/include/JellyfinQt/loader/http/gethlsvideosegmentlegacy.h index 88f8360..ff24361 100644 --- a/core/include/JellyfinQt/loader/http/gethlsvideosegmentlegacy.h +++ b/core/include/JellyfinQt/loader/http/gethlsvideosegmentlegacy.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/geticon.h b/core/include/JellyfinQt/loader/http/geticon.h index 1cebb70..d3c3d78 100644 --- a/core/include/JellyfinQt/loader/http/geticon.h +++ b/core/include/JellyfinQt/loader/http/geticon.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/geticonid.h b/core/include/JellyfinQt/loader/http/geticonid.h index 17b9484..ece2a5c 100644 --- a/core/include/JellyfinQt/loader/http/geticonid.h +++ b/core/include/JellyfinQt/loader/http/geticonid.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfromalbum.h b/core/include/JellyfinQt/loader/http/getinstantmixfromalbum.h index 2f51099..d1ada74 100644 --- a/core/include/JellyfinQt/loader/http/getinstantmixfromalbum.h +++ b/core/include/JellyfinQt/loader/http/getinstantmixfromalbum.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetInstantMixFromAlbum : public Jellyfin::Support::HttpLoader { public: - explicit GetInstantMixFromAlbum(ApiClient *apiClient); + explicit GetInstantMixFromAlbum(ApiClient *apiClient = nullptr); protected: - QString url(const GetInstantMixFromAlbumParams& parameters) const override; + QString path(const GetInstantMixFromAlbumParams& parameters) const override; QUrlQuery query(const GetInstantMixFromAlbumParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfromartists.h b/core/include/JellyfinQt/loader/http/getinstantmixfromartists.h index 8e45a3e..3e1f038 100644 --- a/core/include/JellyfinQt/loader/http/getinstantmixfromartists.h +++ b/core/include/JellyfinQt/loader/http/getinstantmixfromartists.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetInstantMixFromArtists : public Jellyfin::Support::HttpLoader { public: - explicit GetInstantMixFromArtists(ApiClient *apiClient); + explicit GetInstantMixFromArtists(ApiClient *apiClient = nullptr); protected: - QString url(const GetInstantMixFromArtistsParams& parameters) const override; + QString path(const GetInstantMixFromArtistsParams& parameters) const override; QUrlQuery query(const GetInstantMixFromArtistsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfromitem.h b/core/include/JellyfinQt/loader/http/getinstantmixfromitem.h index e8efe8a..dd14984 100644 --- a/core/include/JellyfinQt/loader/http/getinstantmixfromitem.h +++ b/core/include/JellyfinQt/loader/http/getinstantmixfromitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetInstantMixFromItem : public Jellyfin::Support::HttpLoader { public: - explicit GetInstantMixFromItem(ApiClient *apiClient); + explicit GetInstantMixFromItem(ApiClient *apiClient = nullptr); protected: - QString url(const GetInstantMixFromItemParams& parameters) const override; + QString path(const GetInstantMixFromItemParams& parameters) const override; QUrlQuery query(const GetInstantMixFromItemParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenre.h b/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenre.h index 3d8060a..ad473ec 100644 --- a/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenre.h +++ b/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenre.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetInstantMixFromMusicGenre : public Jellyfin::Support::HttpLoader { public: - explicit GetInstantMixFromMusicGenre(ApiClient *apiClient); + explicit GetInstantMixFromMusicGenre(ApiClient *apiClient = nullptr); protected: - QString url(const GetInstantMixFromMusicGenreParams& parameters) const override; + QString path(const GetInstantMixFromMusicGenreParams& parameters) const override; QUrlQuery query(const GetInstantMixFromMusicGenreParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenres.h b/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenres.h index 3f9489b..7d691bc 100644 --- a/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenres.h +++ b/core/include/JellyfinQt/loader/http/getinstantmixfrommusicgenres.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetInstantMixFromMusicGenres : public Jellyfin::Support::HttpLoader { public: - explicit GetInstantMixFromMusicGenres(ApiClient *apiClient); + explicit GetInstantMixFromMusicGenres(ApiClient *apiClient = nullptr); protected: - QString url(const GetInstantMixFromMusicGenresParams& parameters) const override; + QString path(const GetInstantMixFromMusicGenresParams& parameters) const override; QUrlQuery query(const GetInstantMixFromMusicGenresParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfromplaylist.h b/core/include/JellyfinQt/loader/http/getinstantmixfromplaylist.h index 450ae49..7fe309d 100644 --- a/core/include/JellyfinQt/loader/http/getinstantmixfromplaylist.h +++ b/core/include/JellyfinQt/loader/http/getinstantmixfromplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetInstantMixFromPlaylist : public Jellyfin::Support::HttpLoader { public: - explicit GetInstantMixFromPlaylist(ApiClient *apiClient); + explicit GetInstantMixFromPlaylist(ApiClient *apiClient = nullptr); protected: - QString url(const GetInstantMixFromPlaylistParams& parameters) const override; + QString path(const GetInstantMixFromPlaylistParams& parameters) const override; QUrlQuery query(const GetInstantMixFromPlaylistParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getinstantmixfromsong.h b/core/include/JellyfinQt/loader/http/getinstantmixfromsong.h index 29db07e..03322da 100644 --- a/core/include/JellyfinQt/loader/http/getinstantmixfromsong.h +++ b/core/include/JellyfinQt/loader/http/getinstantmixfromsong.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetInstantMixFromSong : public Jellyfin::Support::HttpLoader { public: - explicit GetInstantMixFromSong(ApiClient *apiClient); + explicit GetInstantMixFromSong(ApiClient *apiClient = nullptr); protected: - QString url(const GetInstantMixFromSongParams& parameters) const override; + QString path(const GetInstantMixFromSongParams& parameters) const override; QUrlQuery query(const GetInstantMixFromSongParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getintros.h b/core/include/JellyfinQt/loader/http/getintros.h index 19105b5..e34c549 100644 --- a/core/include/JellyfinQt/loader/http/getintros.h +++ b/core/include/JellyfinQt/loader/http/getintros.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetIntros : public Jellyfin::Support::HttpLoader { public: - explicit GetIntros(ApiClient *apiClient); + explicit GetIntros(ApiClient *apiClient = nullptr); protected: - QString url(const GetIntrosParams& parameters) const override; + QString path(const GetIntrosParams& parameters) const override; QUrlQuery query(const GetIntrosParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getitem.h b/core/include/JellyfinQt/loader/http/getitem.h index 135ee0c..1bbe694 100644 --- a/core/include/JellyfinQt/loader/http/getitem.h +++ b/core/include/JellyfinQt/loader/http/getitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetItem : public Jellyfin::Support::HttpLoader { public: - explicit GetItem(ApiClient *apiClient); + explicit GetItem(ApiClient *apiClient = nullptr); protected: - QString url(const GetItemParams& parameters) const override; + QString path(const GetItemParams& parameters) const override; QUrlQuery query(const GetItemParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getitemcounts.h b/core/include/JellyfinQt/loader/http/getitemcounts.h index 20d0840..740614f 100644 --- a/core/include/JellyfinQt/loader/http/getitemcounts.h +++ b/core/include/JellyfinQt/loader/http/getitemcounts.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/itemcounts.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetItemCounts : public Jellyfin::Support::HttpLoader { public: - explicit GetItemCounts(ApiClient *apiClient); + explicit GetItemCounts(ApiClient *apiClient = nullptr); protected: - QString url(const GetItemCountsParams& parameters) const override; + QString path(const GetItemCountsParams& parameters) const override; QUrlQuery query(const GetItemCountsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getitemimage.h b/core/include/JellyfinQt/loader/http/getitemimage.h index ec9bf38..1029011 100644 --- a/core/include/JellyfinQt/loader/http/getitemimage.h +++ b/core/include/JellyfinQt/loader/http/getitemimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getitemimage2.h b/core/include/JellyfinQt/loader/http/getitemimage2.h index f907f80..e7e8ef9 100644 --- a/core/include/JellyfinQt/loader/http/getitemimage2.h +++ b/core/include/JellyfinQt/loader/http/getitemimage2.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getitemimagebyindex.h b/core/include/JellyfinQt/loader/http/getitemimagebyindex.h index cb02d1c..23d145b 100644 --- a/core/include/JellyfinQt/loader/http/getitemimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/getitemimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getitemimageinfos.h b/core/include/JellyfinQt/loader/http/getitemimageinfos.h index c35b87f..c3df7d9 100644 --- a/core/include/JellyfinQt/loader/http/getitemimageinfos.h +++ b/core/include/JellyfinQt/loader/http/getitemimageinfos.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getitems.h b/core/include/JellyfinQt/loader/http/getitems.h index f1f4c16..5664042 100644 --- a/core/include/JellyfinQt/loader/http/getitems.h +++ b/core/include/JellyfinQt/loader/http/getitems.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetItems : public Jellyfin::Support::HttpLoader { public: - explicit GetItems(ApiClient *apiClient); + explicit GetItems(ApiClient *apiClient = nullptr); protected: - QString url(const GetItemsParams& parameters) const override; + QString path(const GetItemsParams& parameters) const override; QUrlQuery query(const GetItemsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getitemsbyuserid.h b/core/include/JellyfinQt/loader/http/getitemsbyuserid.h index cd1b62b..cc5a109 100644 --- a/core/include/JellyfinQt/loader/http/getitemsbyuserid.h +++ b/core/include/JellyfinQt/loader/http/getitemsbyuserid.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetItemsByUserId : public Jellyfin::Support::HttpLoader { public: - explicit GetItemsByUserId(ApiClient *apiClient); + explicit GetItemsByUserId(ApiClient *apiClient = nullptr); protected: - QString url(const GetItemsByUserIdParams& parameters) const override; + QString path(const GetItemsByUserIdParams& parameters) const override; QUrlQuery query(const GetItemsByUserIdParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getkeys.h b/core/include/JellyfinQt/loader/http/getkeys.h index c3d2255..3e3d010 100644 --- a/core/include/JellyfinQt/loader/http/getkeys.h +++ b/core/include/JellyfinQt/loader/http/getkeys.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/authenticationinfoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetKeys : public Jellyfin::Support::HttpLoader { public: - explicit GetKeys(ApiClient *apiClient); + explicit GetKeys(ApiClient *apiClient = nullptr); protected: - QString url(const GetKeysParams& parameters) const override; + QString path(const GetKeysParams& parameters) const override; QUrlQuery query(const GetKeysParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getlatestchannelitems.h b/core/include/JellyfinQt/loader/http/getlatestchannelitems.h index 0d9decf..1a08aaa 100644 --- a/core/include/JellyfinQt/loader/http/getlatestchannelitems.h +++ b/core/include/JellyfinQt/loader/http/getlatestchannelitems.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetLatestChannelItems : public Jellyfin::Support::HttpLoader { public: - explicit GetLatestChannelItems(ApiClient *apiClient); + explicit GetLatestChannelItems(ApiClient *apiClient = nullptr); protected: - QString url(const GetLatestChannelItemsParams& parameters) const override; + QString path(const GetLatestChannelItemsParams& parameters) const override; QUrlQuery query(const GetLatestChannelItemsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getlatestmedia.h b/core/include/JellyfinQt/loader/http/getlatestmedia.h index 7125187..7afde7b 100644 --- a/core/include/JellyfinQt/loader/http/getlatestmedia.h +++ b/core/include/JellyfinQt/loader/http/getlatestmedia.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getlibraryoptionsinfo.h b/core/include/JellyfinQt/loader/http/getlibraryoptionsinfo.h index 4a195cc..9352d78 100644 --- a/core/include/JellyfinQt/loader/http/getlibraryoptionsinfo.h +++ b/core/include/JellyfinQt/loader/http/getlibraryoptionsinfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/libraryoptionsresultdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetLibraryOptionsInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetLibraryOptionsInfo(ApiClient *apiClient); + explicit GetLibraryOptionsInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetLibraryOptionsInfoParams& parameters) const override; + QString path(const GetLibraryOptionsInfoParams& parameters) const override; QUrlQuery query(const GetLibraryOptionsInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getlineups.h b/core/include/JellyfinQt/loader/http/getlineups.h index 59fbca8..11a25fd 100644 --- a/core/include/JellyfinQt/loader/http/getlineups.h +++ b/core/include/JellyfinQt/loader/http/getlineups.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getlivehlsstream.h b/core/include/JellyfinQt/loader/http/getlivehlsstream.h index b8b18d1..5eae777 100644 --- a/core/include/JellyfinQt/loader/http/getlivehlsstream.h +++ b/core/include/JellyfinQt/loader/http/getlivehlsstream.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getliverecordingfile.h b/core/include/JellyfinQt/loader/http/getliverecordingfile.h index c75db12..ca23387 100644 --- a/core/include/JellyfinQt/loader/http/getliverecordingfile.h +++ b/core/include/JellyfinQt/loader/http/getliverecordingfile.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getlivestreamfile.h b/core/include/JellyfinQt/loader/http/getlivestreamfile.h index 0408cbb..1a0879f 100644 --- a/core/include/JellyfinQt/loader/http/getlivestreamfile.h +++ b/core/include/JellyfinQt/loader/http/getlivestreamfile.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getlivetvchannels.h b/core/include/JellyfinQt/loader/http/getlivetvchannels.h index 42a23af..715acd8 100644 --- a/core/include/JellyfinQt/loader/http/getlivetvchannels.h +++ b/core/include/JellyfinQt/loader/http/getlivetvchannels.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetLiveTvChannels : public Jellyfin::Support::HttpLoader { public: - explicit GetLiveTvChannels(ApiClient *apiClient); + explicit GetLiveTvChannels(ApiClient *apiClient = nullptr); protected: - QString url(const GetLiveTvChannelsParams& parameters) const override; + QString path(const GetLiveTvChannelsParams& parameters) const override; QUrlQuery query(const GetLiveTvChannelsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getlivetvinfo.h b/core/include/JellyfinQt/loader/http/getlivetvinfo.h index 1a7fb02..29795a2 100644 --- a/core/include/JellyfinQt/loader/http/getlivetvinfo.h +++ b/core/include/JellyfinQt/loader/http/getlivetvinfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/livetvinfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetLiveTvInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetLiveTvInfo(ApiClient *apiClient); + explicit GetLiveTvInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetLiveTvInfoParams& parameters) const override; + QString path(const GetLiveTvInfoParams& parameters) const override; QUrlQuery query(const GetLiveTvInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getlivetvprograms.h b/core/include/JellyfinQt/loader/http/getlivetvprograms.h index 223bdf4..45ab66c 100644 --- a/core/include/JellyfinQt/loader/http/getlivetvprograms.h +++ b/core/include/JellyfinQt/loader/http/getlivetvprograms.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetLiveTvPrograms : public Jellyfin::Support::HttpLoader { public: - explicit GetLiveTvPrograms(ApiClient *apiClient); + explicit GetLiveTvPrograms(ApiClient *apiClient = nullptr); protected: - QString url(const GetLiveTvProgramsParams& parameters) const override; + QString path(const GetLiveTvProgramsParams& parameters) const override; QUrlQuery query(const GetLiveTvProgramsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getlocalizationoptions.h b/core/include/JellyfinQt/loader/http/getlocalizationoptions.h index 9c4f1fd..6b17fa6 100644 --- a/core/include/JellyfinQt/loader/http/getlocalizationoptions.h +++ b/core/include/JellyfinQt/loader/http/getlocalizationoptions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getlocaltrailers.h b/core/include/JellyfinQt/loader/http/getlocaltrailers.h index b15035e..598c23f 100644 --- a/core/include/JellyfinQt/loader/http/getlocaltrailers.h +++ b/core/include/JellyfinQt/loader/http/getlocaltrailers.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getlogentries.h b/core/include/JellyfinQt/loader/http/getlogentries.h index 0fd7990..f5fd295 100644 --- a/core/include/JellyfinQt/loader/http/getlogentries.h +++ b/core/include/JellyfinQt/loader/http/getlogentries.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/activitylogentryqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetLogEntries : public Jellyfin::Support::HttpLoader { public: - explicit GetLogEntries(ApiClient *apiClient); + explicit GetLogEntries(ApiClient *apiClient = nullptr); protected: - QString url(const GetLogEntriesParams& parameters) const override; + QString path(const GetLogEntriesParams& parameters) const override; QUrlQuery query(const GetLogEntriesParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getlogfile.h b/core/include/JellyfinQt/loader/http/getlogfile.h index 69475c8..b7689fa 100644 --- a/core/include/JellyfinQt/loader/http/getlogfile.h +++ b/core/include/JellyfinQt/loader/http/getlogfile.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmasterhlsaudioplaylist.h b/core/include/JellyfinQt/loader/http/getmasterhlsaudioplaylist.h index b760e1f..76a9e8f 100644 --- a/core/include/JellyfinQt/loader/http/getmasterhlsaudioplaylist.h +++ b/core/include/JellyfinQt/loader/http/getmasterhlsaudioplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmasterhlsvideoplaylist.h b/core/include/JellyfinQt/loader/http/getmasterhlsvideoplaylist.h index 3551fb3..ccccdd5 100644 --- a/core/include/JellyfinQt/loader/http/getmasterhlsvideoplaylist.h +++ b/core/include/JellyfinQt/loader/http/getmasterhlsvideoplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmediafolders.h b/core/include/JellyfinQt/loader/http/getmediafolders.h index efc395b..521cf40 100644 --- a/core/include/JellyfinQt/loader/http/getmediafolders.h +++ b/core/include/JellyfinQt/loader/http/getmediafolders.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetMediaFolders : public Jellyfin::Support::HttpLoader { public: - explicit GetMediaFolders(ApiClient *apiClient); + explicit GetMediaFolders(ApiClient *apiClient = nullptr); protected: - QString url(const GetMediaFoldersParams& parameters) const override; + QString path(const GetMediaFoldersParams& parameters) const override; QUrlQuery query(const GetMediaFoldersParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getmediainfoimage.h b/core/include/JellyfinQt/loader/http/getmediainfoimage.h index 5c639ee..88635db 100644 --- a/core/include/JellyfinQt/loader/http/getmediainfoimage.h +++ b/core/include/JellyfinQt/loader/http/getmediainfoimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmediainfoimages.h b/core/include/JellyfinQt/loader/http/getmediainfoimages.h index 814086a..9510c30 100644 --- a/core/include/JellyfinQt/loader/http/getmediainfoimages.h +++ b/core/include/JellyfinQt/loader/http/getmediainfoimages.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar.h b/core/include/JellyfinQt/loader/http/getmediareceiverregistrar.h index 6899805..97fde11 100644 --- a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar.h +++ b/core/include/JellyfinQt/loader/http/getmediareceiverregistrar.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_2.h b/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_2.h index d7b767a..388ae4e 100644 --- a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_2.h +++ b/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_2.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_3.h b/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_3.h index 7b26e73..d4684f0 100644 --- a/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_3.h +++ b/core/include/JellyfinQt/loader/http/getmediareceiverregistrar_3.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmetadataeditorinfo.h b/core/include/JellyfinQt/loader/http/getmetadataeditorinfo.h index 0a342fe..d31f21e 100644 --- a/core/include/JellyfinQt/loader/http/getmetadataeditorinfo.h +++ b/core/include/JellyfinQt/loader/http/getmetadataeditorinfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/metadataeditorinfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetMetadataEditorInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetMetadataEditorInfo(ApiClient *apiClient); + explicit GetMetadataEditorInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetMetadataEditorInfoParams& parameters) const override; + QString path(const GetMetadataEditorInfoParams& parameters) const override; QUrlQuery query(const GetMetadataEditorInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getmovierecommendations.h b/core/include/JellyfinQt/loader/http/getmovierecommendations.h index c7a9c0c..03c982a 100644 --- a/core/include/JellyfinQt/loader/http/getmovierecommendations.h +++ b/core/include/JellyfinQt/loader/http/getmovierecommendations.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmovieremotesearchresults.h b/core/include/JellyfinQt/loader/http/getmovieremotesearchresults.h index 06c2282..e1ab5f6 100644 --- a/core/include/JellyfinQt/loader/http/getmovieremotesearchresults.h +++ b/core/include/JellyfinQt/loader/http/getmovieremotesearchresults.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmusicalbumremotesearchresults.h b/core/include/JellyfinQt/loader/http/getmusicalbumremotesearchresults.h index 3c65a0e..985d19f 100644 --- a/core/include/JellyfinQt/loader/http/getmusicalbumremotesearchresults.h +++ b/core/include/JellyfinQt/loader/http/getmusicalbumremotesearchresults.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmusicartistremotesearchresults.h b/core/include/JellyfinQt/loader/http/getmusicartistremotesearchresults.h index 60464ed..5339b5a 100644 --- a/core/include/JellyfinQt/loader/http/getmusicartistremotesearchresults.h +++ b/core/include/JellyfinQt/loader/http/getmusicartistremotesearchresults.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmusicgenre.h b/core/include/JellyfinQt/loader/http/getmusicgenre.h index 193707e..96f1295 100644 --- a/core/include/JellyfinQt/loader/http/getmusicgenre.h +++ b/core/include/JellyfinQt/loader/http/getmusicgenre.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetMusicGenre : public Jellyfin::Support::HttpLoader { public: - explicit GetMusicGenre(ApiClient *apiClient); + explicit GetMusicGenre(ApiClient *apiClient = nullptr); protected: - QString url(const GetMusicGenreParams& parameters) const override; + QString path(const GetMusicGenreParams& parameters) const override; QUrlQuery query(const GetMusicGenreParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getmusicgenreimage.h b/core/include/JellyfinQt/loader/http/getmusicgenreimage.h index 5dfe034..1800b68 100644 --- a/core/include/JellyfinQt/loader/http/getmusicgenreimage.h +++ b/core/include/JellyfinQt/loader/http/getmusicgenreimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmusicgenreimagebyindex.h b/core/include/JellyfinQt/loader/http/getmusicgenreimagebyindex.h index a7747d8..38cf764 100644 --- a/core/include/JellyfinQt/loader/http/getmusicgenreimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/getmusicgenreimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getmusicgenres.h b/core/include/JellyfinQt/loader/http/getmusicgenres.h index 8e10ea7..78fec83 100644 --- a/core/include/JellyfinQt/loader/http/getmusicgenres.h +++ b/core/include/JellyfinQt/loader/http/getmusicgenres.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetMusicGenres : public Jellyfin::Support::HttpLoader { public: - explicit GetMusicGenres(ApiClient *apiClient); + explicit GetMusicGenres(ApiClient *apiClient = nullptr); protected: - QString url(const GetMusicGenresParams& parameters) const override; + QString path(const GetMusicGenresParams& parameters) const override; QUrlQuery query(const GetMusicGenresParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getmusicvideoremotesearchresults.h b/core/include/JellyfinQt/loader/http/getmusicvideoremotesearchresults.h index 95eb134..9301f66 100644 --- a/core/include/JellyfinQt/loader/http/getmusicvideoremotesearchresults.h +++ b/core/include/JellyfinQt/loader/http/getmusicvideoremotesearchresults.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getnamedconfiguration.h b/core/include/JellyfinQt/loader/http/getnamedconfiguration.h index 2361577..937e516 100644 --- a/core/include/JellyfinQt/loader/http/getnamedconfiguration.h +++ b/core/include/JellyfinQt/loader/http/getnamedconfiguration.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getnetworkshares.h b/core/include/JellyfinQt/loader/http/getnetworkshares.h index f3574ea..262d845 100644 --- a/core/include/JellyfinQt/loader/http/getnetworkshares.h +++ b/core/include/JellyfinQt/loader/http/getnetworkshares.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getnextup.h b/core/include/JellyfinQt/loader/http/getnextup.h index f3ff625..0f3d2fa 100644 --- a/core/include/JellyfinQt/loader/http/getnextup.h +++ b/core/include/JellyfinQt/loader/http/getnextup.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetNextUp : public Jellyfin::Support::HttpLoader { public: - explicit GetNextUp(ApiClient *apiClient); + explicit GetNextUp(ApiClient *apiClient = nullptr); protected: - QString url(const GetNextUpParams& parameters) const override; + QString path(const GetNextUpParams& parameters) const override; QUrlQuery query(const GetNextUpParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getnotifications.h b/core/include/JellyfinQt/loader/http/getnotifications.h index 17ae1c7..78aba61 100644 --- a/core/include/JellyfinQt/loader/http/getnotifications.h +++ b/core/include/JellyfinQt/loader/http/getnotifications.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/notificationresultdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetNotifications : public Jellyfin::Support::HttpLoader { public: - explicit GetNotifications(ApiClient *apiClient); + explicit GetNotifications(ApiClient *apiClient = nullptr); protected: - QString url(const GetNotificationsParams& parameters) const override; + QString path(const GetNotificationsParams& parameters) const override; QUrlQuery query(const GetNotificationsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getnotificationservices.h b/core/include/JellyfinQt/loader/http/getnotificationservices.h index 796153e..72947bb 100644 --- a/core/include/JellyfinQt/loader/http/getnotificationservices.h +++ b/core/include/JellyfinQt/loader/http/getnotificationservices.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getnotificationssummary.h b/core/include/JellyfinQt/loader/http/getnotificationssummary.h index 2aa7ad0..b9cb164 100644 --- a/core/include/JellyfinQt/loader/http/getnotificationssummary.h +++ b/core/include/JellyfinQt/loader/http/getnotificationssummary.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/notificationssummarydto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetNotificationsSummary : public Jellyfin::Support::HttpLoader { public: - explicit GetNotificationsSummary(ApiClient *apiClient); + explicit GetNotificationsSummary(ApiClient *apiClient = nullptr); protected: - QString url(const GetNotificationsSummaryParams& parameters) const override; + QString path(const GetNotificationsSummaryParams& parameters) const override; QUrlQuery query(const GetNotificationsSummaryParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getnotificationtypes.h b/core/include/JellyfinQt/loader/http/getnotificationtypes.h index f4646f0..eb33113 100644 --- a/core/include/JellyfinQt/loader/http/getnotificationtypes.h +++ b/core/include/JellyfinQt/loader/http/getnotificationtypes.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getpackageinfo.h b/core/include/JellyfinQt/loader/http/getpackageinfo.h index 794f637..03fd8ed 100644 --- a/core/include/JellyfinQt/loader/http/getpackageinfo.h +++ b/core/include/JellyfinQt/loader/http/getpackageinfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/packageinfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetPackageInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetPackageInfo(ApiClient *apiClient); + explicit GetPackageInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetPackageInfoParams& parameters) const override; + QString path(const GetPackageInfoParams& parameters) const override; QUrlQuery query(const GetPackageInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getpackages.h b/core/include/JellyfinQt/loader/http/getpackages.h index 2971d1c..7d8339b 100644 --- a/core/include/JellyfinQt/loader/http/getpackages.h +++ b/core/include/JellyfinQt/loader/http/getpackages.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getparentalratings.h b/core/include/JellyfinQt/loader/http/getparentalratings.h index fbf3951..3302741 100644 --- a/core/include/JellyfinQt/loader/http/getparentalratings.h +++ b/core/include/JellyfinQt/loader/http/getparentalratings.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getparentpath.h b/core/include/JellyfinQt/loader/http/getparentpath.h index b8a1151..68acc6b 100644 --- a/core/include/JellyfinQt/loader/http/getparentpath.h +++ b/core/include/JellyfinQt/loader/http/getparentpath.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getpasswordresetproviders.h b/core/include/JellyfinQt/loader/http/getpasswordresetproviders.h index 4968eb4..055dcdb 100644 --- a/core/include/JellyfinQt/loader/http/getpasswordresetproviders.h +++ b/core/include/JellyfinQt/loader/http/getpasswordresetproviders.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getperson.h b/core/include/JellyfinQt/loader/http/getperson.h index f11bb44..638cb31 100644 --- a/core/include/JellyfinQt/loader/http/getperson.h +++ b/core/include/JellyfinQt/loader/http/getperson.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetPerson : public Jellyfin::Support::HttpLoader { public: - explicit GetPerson(ApiClient *apiClient); + explicit GetPerson(ApiClient *apiClient = nullptr); protected: - QString url(const GetPersonParams& parameters) const override; + QString path(const GetPersonParams& parameters) const override; QUrlQuery query(const GetPersonParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getpersonimage.h b/core/include/JellyfinQt/loader/http/getpersonimage.h index 68ef706..f03cc02 100644 --- a/core/include/JellyfinQt/loader/http/getpersonimage.h +++ b/core/include/JellyfinQt/loader/http/getpersonimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getpersonimagebyindex.h b/core/include/JellyfinQt/loader/http/getpersonimagebyindex.h index 21574cd..abd68a8 100644 --- a/core/include/JellyfinQt/loader/http/getpersonimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/getpersonimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getpersonremotesearchresults.h b/core/include/JellyfinQt/loader/http/getpersonremotesearchresults.h index d610d44..3c49f7a 100644 --- a/core/include/JellyfinQt/loader/http/getpersonremotesearchresults.h +++ b/core/include/JellyfinQt/loader/http/getpersonremotesearchresults.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getpersons.h b/core/include/JellyfinQt/loader/http/getpersons.h index ea91f56..da1aaf7 100644 --- a/core/include/JellyfinQt/loader/http/getpersons.h +++ b/core/include/JellyfinQt/loader/http/getpersons.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetPersons : public Jellyfin::Support::HttpLoader { public: - explicit GetPersons(ApiClient *apiClient); + explicit GetPersons(ApiClient *apiClient = nullptr); protected: - QString url(const GetPersonsParams& parameters) const override; + QString path(const GetPersonsParams& parameters) const override; QUrlQuery query(const GetPersonsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getphysicalpaths.h b/core/include/JellyfinQt/loader/http/getphysicalpaths.h index 68881c1..2ab1884 100644 --- a/core/include/JellyfinQt/loader/http/getphysicalpaths.h +++ b/core/include/JellyfinQt/loader/http/getphysicalpaths.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getpingsystem.h b/core/include/JellyfinQt/loader/http/getpingsystem.h index d0f198b..5043c2e 100644 --- a/core/include/JellyfinQt/loader/http/getpingsystem.h +++ b/core/include/JellyfinQt/loader/http/getpingsystem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getplaybackinfo.h b/core/include/JellyfinQt/loader/http/getplaybackinfo.h index 3c1948d..88df9c4 100644 --- a/core/include/JellyfinQt/loader/http/getplaybackinfo.h +++ b/core/include/JellyfinQt/loader/http/getplaybackinfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/playbackinforesponse.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetPlaybackInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetPlaybackInfo(ApiClient *apiClient); + explicit GetPlaybackInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetPlaybackInfoParams& parameters) const override; + QString path(const GetPlaybackInfoParams& parameters) const override; QUrlQuery query(const GetPlaybackInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getplaylistitems.h b/core/include/JellyfinQt/loader/http/getplaylistitems.h index a0b9ba7..6581b0a 100644 --- a/core/include/JellyfinQt/loader/http/getplaylistitems.h +++ b/core/include/JellyfinQt/loader/http/getplaylistitems.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetPlaylistItems : public Jellyfin::Support::HttpLoader { public: - explicit GetPlaylistItems(ApiClient *apiClient); + explicit GetPlaylistItems(ApiClient *apiClient = nullptr); protected: - QString url(const GetPlaylistItemsParams& parameters) const override; + QString path(const GetPlaylistItemsParams& parameters) const override; QUrlQuery query(const GetPlaylistItemsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getpluginconfiguration.h b/core/include/JellyfinQt/loader/http/getpluginconfiguration.h index 065c4c1..946025b 100644 --- a/core/include/JellyfinQt/loader/http/getpluginconfiguration.h +++ b/core/include/JellyfinQt/loader/http/getpluginconfiguration.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/basepluginconfiguration.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetPluginConfiguration : public Jellyfin::Support::HttpLoader { public: - explicit GetPluginConfiguration(ApiClient *apiClient); + explicit GetPluginConfiguration(ApiClient *apiClient = nullptr); protected: - QString url(const GetPluginConfigurationParams& parameters) const override; + QString path(const GetPluginConfigurationParams& parameters) const override; QUrlQuery query(const GetPluginConfigurationParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getpluginimage.h b/core/include/JellyfinQt/loader/http/getpluginimage.h index 726cc28..c032d24 100644 --- a/core/include/JellyfinQt/loader/http/getpluginimage.h +++ b/core/include/JellyfinQt/loader/http/getpluginimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getpluginmanifest.h b/core/include/JellyfinQt/loader/http/getpluginmanifest.h index 96822c9..e7902e1 100644 --- a/core/include/JellyfinQt/loader/http/getpluginmanifest.h +++ b/core/include/JellyfinQt/loader/http/getpluginmanifest.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getplugins.h b/core/include/JellyfinQt/loader/http/getplugins.h index 925e1a1..23d3bb1 100644 --- a/core/include/JellyfinQt/loader/http/getplugins.h +++ b/core/include/JellyfinQt/loader/http/getplugins.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getpostedplaybackinfo.h b/core/include/JellyfinQt/loader/http/getpostedplaybackinfo.h index 073a5fd..0f85f17 100644 --- a/core/include/JellyfinQt/loader/http/getpostedplaybackinfo.h +++ b/core/include/JellyfinQt/loader/http/getpostedplaybackinfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/playbackinforesponse.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetPostedPlaybackInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetPostedPlaybackInfo(ApiClient *apiClient); + explicit GetPostedPlaybackInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetPostedPlaybackInfoParams& parameters) const override; + QString path(const GetPostedPlaybackInfoParams& parameters) const override; QUrlQuery query(const GetPostedPlaybackInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getprofile.h b/core/include/JellyfinQt/loader/http/getprofile.h index 2b64e14..70383b3 100644 --- a/core/include/JellyfinQt/loader/http/getprofile.h +++ b/core/include/JellyfinQt/loader/http/getprofile.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/deviceprofile.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetProfile : public Jellyfin::Support::HttpLoader { public: - explicit GetProfile(ApiClient *apiClient); + explicit GetProfile(ApiClient *apiClient = nullptr); protected: - QString url(const GetProfileParams& parameters) const override; + QString path(const GetProfileParams& parameters) const override; QUrlQuery query(const GetProfileParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getprofileinfos.h b/core/include/JellyfinQt/loader/http/getprofileinfos.h index 9eb481c..b209a3d 100644 --- a/core/include/JellyfinQt/loader/http/getprofileinfos.h +++ b/core/include/JellyfinQt/loader/http/getprofileinfos.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getprogram.h b/core/include/JellyfinQt/loader/http/getprogram.h index 0e59025..0af3cab 100644 --- a/core/include/JellyfinQt/loader/http/getprogram.h +++ b/core/include/JellyfinQt/loader/http/getprogram.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetProgram : public Jellyfin::Support::HttpLoader { public: - explicit GetProgram(ApiClient *apiClient); + explicit GetProgram(ApiClient *apiClient = nullptr); protected: - QString url(const GetProgramParams& parameters) const override; + QString path(const GetProgramParams& parameters) const override; QUrlQuery query(const GetProgramParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getprograms.h b/core/include/JellyfinQt/loader/http/getprograms.h index b4d6156..0d3dcc0 100644 --- a/core/include/JellyfinQt/loader/http/getprograms.h +++ b/core/include/JellyfinQt/loader/http/getprograms.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetPrograms : public Jellyfin::Support::HttpLoader { public: - explicit GetPrograms(ApiClient *apiClient); + explicit GetPrograms(ApiClient *apiClient = nullptr); protected: - QString url(const GetProgramsParams& parameters) const override; + QString path(const GetProgramsParams& parameters) const override; QUrlQuery query(const GetProgramsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getpublicsysteminfo.h b/core/include/JellyfinQt/loader/http/getpublicsysteminfo.h index ff8a86c..7230f56 100644 --- a/core/include/JellyfinQt/loader/http/getpublicsysteminfo.h +++ b/core/include/JellyfinQt/loader/http/getpublicsysteminfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/publicsysteminfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetPublicSystemInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetPublicSystemInfo(ApiClient *apiClient); + explicit GetPublicSystemInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetPublicSystemInfoParams& parameters) const override; + QString path(const GetPublicSystemInfoParams& parameters) const override; QUrlQuery query(const GetPublicSystemInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getpublicusers.h b/core/include/JellyfinQt/loader/http/getpublicusers.h index c0b89b3..f49a768 100644 --- a/core/include/JellyfinQt/loader/http/getpublicusers.h +++ b/core/include/JellyfinQt/loader/http/getpublicusers.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getqueryfilters.h b/core/include/JellyfinQt/loader/http/getqueryfilters.h index d91e11c..561630c 100644 --- a/core/include/JellyfinQt/loader/http/getqueryfilters.h +++ b/core/include/JellyfinQt/loader/http/getqueryfilters.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/queryfilters.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetQueryFilters : public Jellyfin::Support::HttpLoader { public: - explicit GetQueryFilters(ApiClient *apiClient); + explicit GetQueryFilters(ApiClient *apiClient = nullptr); protected: - QString url(const GetQueryFiltersParams& parameters) const override; + QString path(const GetQueryFiltersParams& parameters) const override; QUrlQuery query(const GetQueryFiltersParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getqueryfilterslegacy.h b/core/include/JellyfinQt/loader/http/getqueryfilterslegacy.h index 4b73c4b..ac035a5 100644 --- a/core/include/JellyfinQt/loader/http/getqueryfilterslegacy.h +++ b/core/include/JellyfinQt/loader/http/getqueryfilterslegacy.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/queryfilterslegacy.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetQueryFiltersLegacy : public Jellyfin::Support::HttpLoader { public: - explicit GetQueryFiltersLegacy(ApiClient *apiClient); + explicit GetQueryFiltersLegacy(ApiClient *apiClient = nullptr); protected: - QString url(const GetQueryFiltersLegacyParams& parameters) const override; + QString path(const GetQueryFiltersLegacyParams& parameters) const override; QUrlQuery query(const GetQueryFiltersLegacyParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getratingimage.h b/core/include/JellyfinQt/loader/http/getratingimage.h index 5ddf912..6b4a0ab 100644 --- a/core/include/JellyfinQt/loader/http/getratingimage.h +++ b/core/include/JellyfinQt/loader/http/getratingimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getratingimages.h b/core/include/JellyfinQt/loader/http/getratingimages.h index 353a481..6b29ece 100644 --- a/core/include/JellyfinQt/loader/http/getratingimages.h +++ b/core/include/JellyfinQt/loader/http/getratingimages.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getrecommendedprograms.h b/core/include/JellyfinQt/loader/http/getrecommendedprograms.h index 23e5146..d363f94 100644 --- a/core/include/JellyfinQt/loader/http/getrecommendedprograms.h +++ b/core/include/JellyfinQt/loader/http/getrecommendedprograms.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetRecommendedPrograms : public Jellyfin::Support::HttpLoader { public: - explicit GetRecommendedPrograms(ApiClient *apiClient); + explicit GetRecommendedPrograms(ApiClient *apiClient = nullptr); protected: - QString url(const GetRecommendedProgramsParams& parameters) const override; + QString path(const GetRecommendedProgramsParams& parameters) const override; QUrlQuery query(const GetRecommendedProgramsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getrecording.h b/core/include/JellyfinQt/loader/http/getrecording.h index 512a5be..3c97013 100644 --- a/core/include/JellyfinQt/loader/http/getrecording.h +++ b/core/include/JellyfinQt/loader/http/getrecording.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetRecording : public Jellyfin::Support::HttpLoader { public: - explicit GetRecording(ApiClient *apiClient); + explicit GetRecording(ApiClient *apiClient = nullptr); protected: - QString url(const GetRecordingParams& parameters) const override; + QString path(const GetRecordingParams& parameters) const override; QUrlQuery query(const GetRecordingParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getrecordingfolders.h b/core/include/JellyfinQt/loader/http/getrecordingfolders.h index 2e963f0..663fa5f 100644 --- a/core/include/JellyfinQt/loader/http/getrecordingfolders.h +++ b/core/include/JellyfinQt/loader/http/getrecordingfolders.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetRecordingFolders : public Jellyfin::Support::HttpLoader { public: - explicit GetRecordingFolders(ApiClient *apiClient); + explicit GetRecordingFolders(ApiClient *apiClient = nullptr); protected: - QString url(const GetRecordingFoldersParams& parameters) const override; + QString path(const GetRecordingFoldersParams& parameters) const override; QUrlQuery query(const GetRecordingFoldersParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getrecordinggroup.h b/core/include/JellyfinQt/loader/http/getrecordinggroup.h index 30bc92e..249553f 100644 --- a/core/include/JellyfinQt/loader/http/getrecordinggroup.h +++ b/core/include/JellyfinQt/loader/http/getrecordinggroup.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getrecordinggroups.h b/core/include/JellyfinQt/loader/http/getrecordinggroups.h index 9914333..bb00c3f 100644 --- a/core/include/JellyfinQt/loader/http/getrecordinggroups.h +++ b/core/include/JellyfinQt/loader/http/getrecordinggroups.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetRecordingGroups : public Jellyfin::Support::HttpLoader { public: - explicit GetRecordingGroups(ApiClient *apiClient); + explicit GetRecordingGroups(ApiClient *apiClient = nullptr); protected: - QString url(const GetRecordingGroupsParams& parameters) const override; + QString path(const GetRecordingGroupsParams& parameters) const override; QUrlQuery query(const GetRecordingGroupsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getrecordings.h b/core/include/JellyfinQt/loader/http/getrecordings.h index 1eb78af..ec18f40 100644 --- a/core/include/JellyfinQt/loader/http/getrecordings.h +++ b/core/include/JellyfinQt/loader/http/getrecordings.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetRecordings : public Jellyfin::Support::HttpLoader { public: - explicit GetRecordings(ApiClient *apiClient); + explicit GetRecordings(ApiClient *apiClient = nullptr); protected: - QString url(const GetRecordingsParams& parameters) const override; + QString path(const GetRecordingsParams& parameters) const override; QUrlQuery query(const GetRecordingsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getrecordingsseries.h b/core/include/JellyfinQt/loader/http/getrecordingsseries.h index 7e25ded..f379ce5 100644 --- a/core/include/JellyfinQt/loader/http/getrecordingsseries.h +++ b/core/include/JellyfinQt/loader/http/getrecordingsseries.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetRecordingsSeries : public Jellyfin::Support::HttpLoader { public: - explicit GetRecordingsSeries(ApiClient *apiClient); + explicit GetRecordingsSeries(ApiClient *apiClient = nullptr); protected: - QString url(const GetRecordingsSeriesParams& parameters) const override; + QString path(const GetRecordingsSeriesParams& parameters) const override; QUrlQuery query(const GetRecordingsSeriesParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getremoteimage.h b/core/include/JellyfinQt/loader/http/getremoteimage.h index 2c460ef..e25e3b3 100644 --- a/core/include/JellyfinQt/loader/http/getremoteimage.h +++ b/core/include/JellyfinQt/loader/http/getremoteimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getremoteimageproviders.h b/core/include/JellyfinQt/loader/http/getremoteimageproviders.h index 3587224..ba5738e 100644 --- a/core/include/JellyfinQt/loader/http/getremoteimageproviders.h +++ b/core/include/JellyfinQt/loader/http/getremoteimageproviders.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getremoteimages.h b/core/include/JellyfinQt/loader/http/getremoteimages.h index 2e9d66a..053ebec 100644 --- a/core/include/JellyfinQt/loader/http/getremoteimages.h +++ b/core/include/JellyfinQt/loader/http/getremoteimages.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/remoteimageresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetRemoteImages : public Jellyfin::Support::HttpLoader { public: - explicit GetRemoteImages(ApiClient *apiClient); + explicit GetRemoteImages(ApiClient *apiClient = nullptr); protected: - QString url(const GetRemoteImagesParams& parameters) const override; + QString path(const GetRemoteImagesParams& parameters) const override; QUrlQuery query(const GetRemoteImagesParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getremotesearchimage.h b/core/include/JellyfinQt/loader/http/getremotesearchimage.h index 38b1e06..c9c9937 100644 --- a/core/include/JellyfinQt/loader/http/getremotesearchimage.h +++ b/core/include/JellyfinQt/loader/http/getremotesearchimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getremotesubtitles.h b/core/include/JellyfinQt/loader/http/getremotesubtitles.h index 2778cfa..16ef553 100644 --- a/core/include/JellyfinQt/loader/http/getremotesubtitles.h +++ b/core/include/JellyfinQt/loader/http/getremotesubtitles.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getrepositories.h b/core/include/JellyfinQt/loader/http/getrepositories.h index 6f82d1f..c1a6b9c 100644 --- a/core/include/JellyfinQt/loader/http/getrepositories.h +++ b/core/include/JellyfinQt/loader/http/getrepositories.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getresumeitems.h b/core/include/JellyfinQt/loader/http/getresumeitems.h index 8c36530..b44e44c 100644 --- a/core/include/JellyfinQt/loader/http/getresumeitems.h +++ b/core/include/JellyfinQt/loader/http/getresumeitems.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetResumeItems : public Jellyfin::Support::HttpLoader { public: - explicit GetResumeItems(ApiClient *apiClient); + explicit GetResumeItems(ApiClient *apiClient = nullptr); protected: - QString url(const GetResumeItemsParams& parameters) const override; + QString path(const GetResumeItemsParams& parameters) const override; QUrlQuery query(const GetResumeItemsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getrootfolder.h b/core/include/JellyfinQt/loader/http/getrootfolder.h index 6417b1e..868765e 100644 --- a/core/include/JellyfinQt/loader/http/getrootfolder.h +++ b/core/include/JellyfinQt/loader/http/getrootfolder.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetRootFolder : public Jellyfin::Support::HttpLoader { public: - explicit GetRootFolder(ApiClient *apiClient); + explicit GetRootFolder(ApiClient *apiClient = nullptr); protected: - QString url(const GetRootFolderParams& parameters) const override; + QString path(const GetRootFolderParams& parameters) const override; QUrlQuery query(const GetRootFolderParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getschedulesdirectcountries.h b/core/include/JellyfinQt/loader/http/getschedulesdirectcountries.h index 5a7ab6a..5a75cc6 100644 --- a/core/include/JellyfinQt/loader/http/getschedulesdirectcountries.h +++ b/core/include/JellyfinQt/loader/http/getschedulesdirectcountries.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getseasons.h b/core/include/JellyfinQt/loader/http/getseasons.h index 75997ac..00b1e68 100644 --- a/core/include/JellyfinQt/loader/http/getseasons.h +++ b/core/include/JellyfinQt/loader/http/getseasons.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSeasons : public Jellyfin::Support::HttpLoader { public: - explicit GetSeasons(ApiClient *apiClient); + explicit GetSeasons(ApiClient *apiClient = nullptr); protected: - QString url(const GetSeasonsParams& parameters) const override; + QString path(const GetSeasonsParams& parameters) const override; QUrlQuery query(const GetSeasonsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getseriesremotesearchresults.h b/core/include/JellyfinQt/loader/http/getseriesremotesearchresults.h index 15b93f8..a6cf778 100644 --- a/core/include/JellyfinQt/loader/http/getseriesremotesearchresults.h +++ b/core/include/JellyfinQt/loader/http/getseriesremotesearchresults.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getseriestimer.h b/core/include/JellyfinQt/loader/http/getseriestimer.h index 968af03..dfe193a 100644 --- a/core/include/JellyfinQt/loader/http/getseriestimer.h +++ b/core/include/JellyfinQt/loader/http/getseriestimer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/seriestimerinfodto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSeriesTimer : public Jellyfin::Support::HttpLoader { public: - explicit GetSeriesTimer(ApiClient *apiClient); + explicit GetSeriesTimer(ApiClient *apiClient = nullptr); protected: - QString url(const GetSeriesTimerParams& parameters) const override; + QString path(const GetSeriesTimerParams& parameters) const override; QUrlQuery query(const GetSeriesTimerParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getseriestimers.h b/core/include/JellyfinQt/loader/http/getseriestimers.h index 187cbb0..4c2bf06 100644 --- a/core/include/JellyfinQt/loader/http/getseriestimers.h +++ b/core/include/JellyfinQt/loader/http/getseriestimers.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/seriestimerinfodtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSeriesTimers : public Jellyfin::Support::HttpLoader { public: - explicit GetSeriesTimers(ApiClient *apiClient); + explicit GetSeriesTimers(ApiClient *apiClient = nullptr); protected: - QString url(const GetSeriesTimersParams& parameters) const override; + QString path(const GetSeriesTimersParams& parameters) const override; QUrlQuery query(const GetSeriesTimersParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getserverlogs.h b/core/include/JellyfinQt/loader/http/getserverlogs.h index b5a9cbf..05a5726 100644 --- a/core/include/JellyfinQt/loader/http/getserverlogs.h +++ b/core/include/JellyfinQt/loader/http/getserverlogs.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getsessions.h b/core/include/JellyfinQt/loader/http/getsessions.h index 895d5c7..aae5bae 100644 --- a/core/include/JellyfinQt/loader/http/getsessions.h +++ b/core/include/JellyfinQt/loader/http/getsessions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getsimilaralbums.h b/core/include/JellyfinQt/loader/http/getsimilaralbums.h index 99508ef..f4ab011 100644 --- a/core/include/JellyfinQt/loader/http/getsimilaralbums.h +++ b/core/include/JellyfinQt/loader/http/getsimilaralbums.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSimilarAlbums : public Jellyfin::Support::HttpLoader { public: - explicit GetSimilarAlbums(ApiClient *apiClient); + explicit GetSimilarAlbums(ApiClient *apiClient = nullptr); protected: - QString url(const GetSimilarAlbumsParams& parameters) const override; + QString path(const GetSimilarAlbumsParams& parameters) const override; QUrlQuery query(const GetSimilarAlbumsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getsimilarartists.h b/core/include/JellyfinQt/loader/http/getsimilarartists.h index 4b29917..1f7e879 100644 --- a/core/include/JellyfinQt/loader/http/getsimilarartists.h +++ b/core/include/JellyfinQt/loader/http/getsimilarartists.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSimilarArtists : public Jellyfin::Support::HttpLoader { public: - explicit GetSimilarArtists(ApiClient *apiClient); + explicit GetSimilarArtists(ApiClient *apiClient = nullptr); protected: - QString url(const GetSimilarArtistsParams& parameters) const override; + QString path(const GetSimilarArtistsParams& parameters) const override; QUrlQuery query(const GetSimilarArtistsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getsimilaritems.h b/core/include/JellyfinQt/loader/http/getsimilaritems.h index 993b556..ffcec8f 100644 --- a/core/include/JellyfinQt/loader/http/getsimilaritems.h +++ b/core/include/JellyfinQt/loader/http/getsimilaritems.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSimilarItems : public Jellyfin::Support::HttpLoader { public: - explicit GetSimilarItems(ApiClient *apiClient); + explicit GetSimilarItems(ApiClient *apiClient = nullptr); protected: - QString url(const GetSimilarItemsParams& parameters) const override; + QString path(const GetSimilarItemsParams& parameters) const override; QUrlQuery query(const GetSimilarItemsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getsimilarmovies.h b/core/include/JellyfinQt/loader/http/getsimilarmovies.h index f773a59..33d0793 100644 --- a/core/include/JellyfinQt/loader/http/getsimilarmovies.h +++ b/core/include/JellyfinQt/loader/http/getsimilarmovies.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSimilarMovies : public Jellyfin::Support::HttpLoader { public: - explicit GetSimilarMovies(ApiClient *apiClient); + explicit GetSimilarMovies(ApiClient *apiClient = nullptr); protected: - QString url(const GetSimilarMoviesParams& parameters) const override; + QString path(const GetSimilarMoviesParams& parameters) const override; QUrlQuery query(const GetSimilarMoviesParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getsimilarshows.h b/core/include/JellyfinQt/loader/http/getsimilarshows.h index 50c30ba..8ca159c 100644 --- a/core/include/JellyfinQt/loader/http/getsimilarshows.h +++ b/core/include/JellyfinQt/loader/http/getsimilarshows.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSimilarShows : public Jellyfin::Support::HttpLoader { public: - explicit GetSimilarShows(ApiClient *apiClient); + explicit GetSimilarShows(ApiClient *apiClient = nullptr); protected: - QString url(const GetSimilarShowsParams& parameters) const override; + QString path(const GetSimilarShowsParams& parameters) const override; QUrlQuery query(const GetSimilarShowsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getsimilartrailers.h b/core/include/JellyfinQt/loader/http/getsimilartrailers.h index 893d73e..99d6473 100644 --- a/core/include/JellyfinQt/loader/http/getsimilartrailers.h +++ b/core/include/JellyfinQt/loader/http/getsimilartrailers.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSimilarTrailers : public Jellyfin::Support::HttpLoader { public: - explicit GetSimilarTrailers(ApiClient *apiClient); + explicit GetSimilarTrailers(ApiClient *apiClient = nullptr); protected: - QString url(const GetSimilarTrailersParams& parameters) const override; + QString path(const GetSimilarTrailersParams& parameters) const override; QUrlQuery query(const GetSimilarTrailersParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getspecialfeatures.h b/core/include/JellyfinQt/loader/http/getspecialfeatures.h index e554b4c..2b98c43 100644 --- a/core/include/JellyfinQt/loader/http/getspecialfeatures.h +++ b/core/include/JellyfinQt/loader/http/getspecialfeatures.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getstartupconfiguration.h b/core/include/JellyfinQt/loader/http/getstartupconfiguration.h index f1c37a5..759a8f8 100644 --- a/core/include/JellyfinQt/loader/http/getstartupconfiguration.h +++ b/core/include/JellyfinQt/loader/http/getstartupconfiguration.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/startupconfigurationdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetStartupConfiguration : public Jellyfin::Support::HttpLoader { public: - explicit GetStartupConfiguration(ApiClient *apiClient); + explicit GetStartupConfiguration(ApiClient *apiClient = nullptr); protected: - QString url(const GetStartupConfigurationParams& parameters) const override; + QString path(const GetStartupConfigurationParams& parameters) const override; QUrlQuery query(const GetStartupConfigurationParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getstatus.h b/core/include/JellyfinQt/loader/http/getstatus.h index 8a802f1..0515eea 100644 --- a/core/include/JellyfinQt/loader/http/getstatus.h +++ b/core/include/JellyfinQt/loader/http/getstatus.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/quickconnectstate.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetStatus : public Jellyfin::Support::HttpLoader { public: - explicit GetStatus(ApiClient *apiClient); + explicit GetStatus(ApiClient *apiClient = nullptr); protected: - QString url(const GetStatusParams& parameters) const override; + QString path(const GetStatusParams& parameters) const override; QUrlQuery query(const GetStatusParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getstudio.h b/core/include/JellyfinQt/loader/http/getstudio.h index 1b76d55..9f1d2a6 100644 --- a/core/include/JellyfinQt/loader/http/getstudio.h +++ b/core/include/JellyfinQt/loader/http/getstudio.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetStudio : public Jellyfin::Support::HttpLoader { public: - explicit GetStudio(ApiClient *apiClient); + explicit GetStudio(ApiClient *apiClient = nullptr); protected: - QString url(const GetStudioParams& parameters) const override; + QString path(const GetStudioParams& parameters) const override; QUrlQuery query(const GetStudioParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getstudioimage.h b/core/include/JellyfinQt/loader/http/getstudioimage.h index 5d4948c..aea2fa8 100644 --- a/core/include/JellyfinQt/loader/http/getstudioimage.h +++ b/core/include/JellyfinQt/loader/http/getstudioimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getstudioimagebyindex.h b/core/include/JellyfinQt/loader/http/getstudioimagebyindex.h index dee6b1c..8448b46 100644 --- a/core/include/JellyfinQt/loader/http/getstudioimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/getstudioimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getstudios.h b/core/include/JellyfinQt/loader/http/getstudios.h index 7418159..4e373bd 100644 --- a/core/include/JellyfinQt/loader/http/getstudios.h +++ b/core/include/JellyfinQt/loader/http/getstudios.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetStudios : public Jellyfin::Support::HttpLoader { public: - explicit GetStudios(ApiClient *apiClient); + explicit GetStudios(ApiClient *apiClient = nullptr); protected: - QString url(const GetStudiosParams& parameters) const override; + QString path(const GetStudiosParams& parameters) const override; QUrlQuery query(const GetStudiosParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getsubtitle.h b/core/include/JellyfinQt/loader/http/getsubtitle.h index fc0ac3c..2d30b37 100644 --- a/core/include/JellyfinQt/loader/http/getsubtitle.h +++ b/core/include/JellyfinQt/loader/http/getsubtitle.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getsubtitleplaylist.h b/core/include/JellyfinQt/loader/http/getsubtitleplaylist.h index 21edbee..78d8432 100644 --- a/core/include/JellyfinQt/loader/http/getsubtitleplaylist.h +++ b/core/include/JellyfinQt/loader/http/getsubtitleplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getsubtitlewithticks.h b/core/include/JellyfinQt/loader/http/getsubtitlewithticks.h index 9d32b16..14c97a8 100644 --- a/core/include/JellyfinQt/loader/http/getsubtitlewithticks.h +++ b/core/include/JellyfinQt/loader/http/getsubtitlewithticks.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getsuggestions.h b/core/include/JellyfinQt/loader/http/getsuggestions.h index 5ce6494..1d79490 100644 --- a/core/include/JellyfinQt/loader/http/getsuggestions.h +++ b/core/include/JellyfinQt/loader/http/getsuggestions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSuggestions : public Jellyfin::Support::HttpLoader { public: - explicit GetSuggestions(ApiClient *apiClient); + explicit GetSuggestions(ApiClient *apiClient = nullptr); protected: - QString url(const GetSuggestionsParams& parameters) const override; + QString path(const GetSuggestionsParams& parameters) const override; QUrlQuery query(const GetSuggestionsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getsysteminfo.h b/core/include/JellyfinQt/loader/http/getsysteminfo.h index d6803f1..03f0491 100644 --- a/core/include/JellyfinQt/loader/http/getsysteminfo.h +++ b/core/include/JellyfinQt/loader/http/getsysteminfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/systeminfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetSystemInfo : public Jellyfin::Support::HttpLoader { public: - explicit GetSystemInfo(ApiClient *apiClient); + explicit GetSystemInfo(ApiClient *apiClient = nullptr); protected: - QString url(const GetSystemInfoParams& parameters) const override; + QString path(const GetSystemInfoParams& parameters) const override; QUrlQuery query(const GetSystemInfoParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/gettask.h b/core/include/JellyfinQt/loader/http/gettask.h index 0bb22e2..bf3b32a 100644 --- a/core/include/JellyfinQt/loader/http/gettask.h +++ b/core/include/JellyfinQt/loader/http/gettask.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/taskinfo.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetTask : public Jellyfin::Support::HttpLoader { public: - explicit GetTask(ApiClient *apiClient); + explicit GetTask(ApiClient *apiClient = nullptr); protected: - QString url(const GetTaskParams& parameters) const override; + QString path(const GetTaskParams& parameters) const override; QUrlQuery query(const GetTaskParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/gettasks.h b/core/include/JellyfinQt/loader/http/gettasks.h index 63e8ab6..a6a88d4 100644 --- a/core/include/JellyfinQt/loader/http/gettasks.h +++ b/core/include/JellyfinQt/loader/http/gettasks.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getthememedia.h b/core/include/JellyfinQt/loader/http/getthememedia.h index 131e5a5..d2d73c9 100644 --- a/core/include/JellyfinQt/loader/http/getthememedia.h +++ b/core/include/JellyfinQt/loader/http/getthememedia.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/allthememediaresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetThemeMedia : public Jellyfin::Support::HttpLoader { public: - explicit GetThemeMedia(ApiClient *apiClient); + explicit GetThemeMedia(ApiClient *apiClient = nullptr); protected: - QString url(const GetThemeMediaParams& parameters) const override; + QString path(const GetThemeMediaParams& parameters) const override; QUrlQuery query(const GetThemeMediaParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getthemesongs.h b/core/include/JellyfinQt/loader/http/getthemesongs.h index 85a950a..9d7c564 100644 --- a/core/include/JellyfinQt/loader/http/getthemesongs.h +++ b/core/include/JellyfinQt/loader/http/getthemesongs.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/thememediaresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetThemeSongs : public Jellyfin::Support::HttpLoader { public: - explicit GetThemeSongs(ApiClient *apiClient); + explicit GetThemeSongs(ApiClient *apiClient = nullptr); protected: - QString url(const GetThemeSongsParams& parameters) const override; + QString path(const GetThemeSongsParams& parameters) const override; QUrlQuery query(const GetThemeSongsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getthemevideos.h b/core/include/JellyfinQt/loader/http/getthemevideos.h index 17f2f78..b136226 100644 --- a/core/include/JellyfinQt/loader/http/getthemevideos.h +++ b/core/include/JellyfinQt/loader/http/getthemevideos.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/thememediaresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetThemeVideos : public Jellyfin::Support::HttpLoader { public: - explicit GetThemeVideos(ApiClient *apiClient); + explicit GetThemeVideos(ApiClient *apiClient = nullptr); protected: - QString url(const GetThemeVideosParams& parameters) const override; + QString path(const GetThemeVideosParams& parameters) const override; QUrlQuery query(const GetThemeVideosParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/gettimer.h b/core/include/JellyfinQt/loader/http/gettimer.h index 5eb6b0c..7e80ad3 100644 --- a/core/include/JellyfinQt/loader/http/gettimer.h +++ b/core/include/JellyfinQt/loader/http/gettimer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/timerinfodto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetTimer : public Jellyfin::Support::HttpLoader { public: - explicit GetTimer(ApiClient *apiClient); + explicit GetTimer(ApiClient *apiClient = nullptr); protected: - QString url(const GetTimerParams& parameters) const override; + QString path(const GetTimerParams& parameters) const override; QUrlQuery query(const GetTimerParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/gettimers.h b/core/include/JellyfinQt/loader/http/gettimers.h index f299fbc..3fc7e02 100644 --- a/core/include/JellyfinQt/loader/http/gettimers.h +++ b/core/include/JellyfinQt/loader/http/gettimers.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/timerinfodtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetTimers : public Jellyfin::Support::HttpLoader { public: - explicit GetTimers(ApiClient *apiClient); + explicit GetTimers(ApiClient *apiClient = nullptr); protected: - QString url(const GetTimersParams& parameters) const override; + QString path(const GetTimersParams& parameters) const override; QUrlQuery query(const GetTimersParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/gettrailerremotesearchresults.h b/core/include/JellyfinQt/loader/http/gettrailerremotesearchresults.h index 9abdeeb..897b299 100644 --- a/core/include/JellyfinQt/loader/http/gettrailerremotesearchresults.h +++ b/core/include/JellyfinQt/loader/http/gettrailerremotesearchresults.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/gettrailers.h b/core/include/JellyfinQt/loader/http/gettrailers.h index 48b2059..0f04c8e 100644 --- a/core/include/JellyfinQt/loader/http/gettrailers.h +++ b/core/include/JellyfinQt/loader/http/gettrailers.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetTrailers : public Jellyfin::Support::HttpLoader { public: - explicit GetTrailers(ApiClient *apiClient); + explicit GetTrailers(ApiClient *apiClient = nullptr); protected: - QString url(const GetTrailersParams& parameters) const override; + QString path(const GetTrailersParams& parameters) const override; QUrlQuery query(const GetTrailersParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/gettunerhosttypes.h b/core/include/JellyfinQt/loader/http/gettunerhosttypes.h index 94b6097..adbc0e6 100644 --- a/core/include/JellyfinQt/loader/http/gettunerhosttypes.h +++ b/core/include/JellyfinQt/loader/http/gettunerhosttypes.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getuniversalaudiostream.h b/core/include/JellyfinQt/loader/http/getuniversalaudiostream.h index ad3affd..4d4fd38 100644 --- a/core/include/JellyfinQt/loader/http/getuniversalaudiostream.h +++ b/core/include/JellyfinQt/loader/http/getuniversalaudiostream.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getupcomingepisodes.h b/core/include/JellyfinQt/loader/http/getupcomingepisodes.h index ee1c966..55b2ddf 100644 --- a/core/include/JellyfinQt/loader/http/getupcomingepisodes.h +++ b/core/include/JellyfinQt/loader/http/getupcomingepisodes.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetUpcomingEpisodes : public Jellyfin::Support::HttpLoader { public: - explicit GetUpcomingEpisodes(ApiClient *apiClient); + explicit GetUpcomingEpisodes(ApiClient *apiClient = nullptr); protected: - QString url(const GetUpcomingEpisodesParams& parameters) const override; + QString path(const GetUpcomingEpisodesParams& parameters) const override; QUrlQuery query(const GetUpcomingEpisodesParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getuserbyid.h b/core/include/JellyfinQt/loader/http/getuserbyid.h index 64c59fd..4cafdd4 100644 --- a/core/include/JellyfinQt/loader/http/getuserbyid.h +++ b/core/include/JellyfinQt/loader/http/getuserbyid.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/userdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetUserById : public Jellyfin::Support::HttpLoader { public: - explicit GetUserById(ApiClient *apiClient); + explicit GetUserById(ApiClient *apiClient = nullptr); protected: - QString url(const GetUserByIdParams& parameters) const override; + QString path(const GetUserByIdParams& parameters) const override; QUrlQuery query(const GetUserByIdParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getuserimage.h b/core/include/JellyfinQt/loader/http/getuserimage.h index ac5b150..906ad04 100644 --- a/core/include/JellyfinQt/loader/http/getuserimage.h +++ b/core/include/JellyfinQt/loader/http/getuserimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getuserimagebyindex.h b/core/include/JellyfinQt/loader/http/getuserimagebyindex.h index acbaae8..5f98967 100644 --- a/core/include/JellyfinQt/loader/http/getuserimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/getuserimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getusers.h b/core/include/JellyfinQt/loader/http/getusers.h index 9a49e5b..83994e6 100644 --- a/core/include/JellyfinQt/loader/http/getusers.h +++ b/core/include/JellyfinQt/loader/http/getusers.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getuserviews.h b/core/include/JellyfinQt/loader/http/getuserviews.h index ac837b8..1011d6b 100644 --- a/core/include/JellyfinQt/loader/http/getuserviews.h +++ b/core/include/JellyfinQt/loader/http/getuserviews.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetUserViews : public Jellyfin::Support::HttpLoader { public: - explicit GetUserViews(ApiClient *apiClient); + explicit GetUserViews(ApiClient *apiClient = nullptr); protected: - QString url(const GetUserViewsParams& parameters) const override; + QString path(const GetUserViewsParams& parameters) const override; QUrlQuery query(const GetUserViewsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getutctime.h b/core/include/JellyfinQt/loader/http/getutctime.h index d9d6936..ba77ddf 100644 --- a/core/include/JellyfinQt/loader/http/getutctime.h +++ b/core/include/JellyfinQt/loader/http/getutctime.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/utctimeresponse.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetUtcTime : public Jellyfin::Support::HttpLoader { public: - explicit GetUtcTime(ApiClient *apiClient); + explicit GetUtcTime(ApiClient *apiClient = nullptr); protected: - QString url(const GetUtcTimeParams& parameters) const override; + QString path(const GetUtcTimeParams& parameters) const override; QUrlQuery query(const GetUtcTimeParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getvarianthlsaudioplaylist.h b/core/include/JellyfinQt/loader/http/getvarianthlsaudioplaylist.h index 14bad2c..06fb639 100644 --- a/core/include/JellyfinQt/loader/http/getvarianthlsaudioplaylist.h +++ b/core/include/JellyfinQt/loader/http/getvarianthlsaudioplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getvarianthlsvideoplaylist.h b/core/include/JellyfinQt/loader/http/getvarianthlsvideoplaylist.h index 3106092..5bb43b7 100644 --- a/core/include/JellyfinQt/loader/http/getvarianthlsvideoplaylist.h +++ b/core/include/JellyfinQt/loader/http/getvarianthlsvideoplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getvideostream.h b/core/include/JellyfinQt/loader/http/getvideostream.h index 873464b..eb3e8dc 100644 --- a/core/include/JellyfinQt/loader/http/getvideostream.h +++ b/core/include/JellyfinQt/loader/http/getvideostream.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getvideostreambycontainer.h b/core/include/JellyfinQt/loader/http/getvideostreambycontainer.h index 9266de5..0912822 100644 --- a/core/include/JellyfinQt/loader/http/getvideostreambycontainer.h +++ b/core/include/JellyfinQt/loader/http/getvideostreambycontainer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getvirtualfolders.h b/core/include/JellyfinQt/loader/http/getvirtualfolders.h index 736282a..57744ce 100644 --- a/core/include/JellyfinQt/loader/http/getvirtualfolders.h +++ b/core/include/JellyfinQt/loader/http/getvirtualfolders.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getwakeonlaninfo.h b/core/include/JellyfinQt/loader/http/getwakeonlaninfo.h index 250573c..35a1fa9 100644 --- a/core/include/JellyfinQt/loader/http/getwakeonlaninfo.h +++ b/core/include/JellyfinQt/loader/http/getwakeonlaninfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/getyear.h b/core/include/JellyfinQt/loader/http/getyear.h index 5416e1b..1087e61 100644 --- a/core/include/JellyfinQt/loader/http/getyear.h +++ b/core/include/JellyfinQt/loader/http/getyear.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetYear : public Jellyfin::Support::HttpLoader { public: - explicit GetYear(ApiClient *apiClient); + explicit GetYear(ApiClient *apiClient = nullptr); protected: - QString url(const GetYearParams& parameters) const override; + QString path(const GetYearParams& parameters) const override; QUrlQuery query(const GetYearParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/getyears.h b/core/include/JellyfinQt/loader/http/getyears.h index f1320e2..f9ee5a8 100644 --- a/core/include/JellyfinQt/loader/http/getyears.h +++ b/core/include/JellyfinQt/loader/http/getyears.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/baseitemdtoqueryresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class GetYears : public Jellyfin::Support::HttpLoader { public: - explicit GetYears(ApiClient *apiClient); + explicit GetYears(ApiClient *apiClient = nullptr); protected: - QString url(const GetYearsParams& parameters) const override; + QString path(const GetYearsParams& parameters) const override; QUrlQuery query(const GetYearsParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/headartistimage.h b/core/include/JellyfinQt/loader/http/headartistimage.h index c164a74..e03d759 100644 --- a/core/include/JellyfinQt/loader/http/headartistimage.h +++ b/core/include/JellyfinQt/loader/http/headartistimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headaudiostream.h b/core/include/JellyfinQt/loader/http/headaudiostream.h index 96295fb..fda21b4 100644 --- a/core/include/JellyfinQt/loader/http/headaudiostream.h +++ b/core/include/JellyfinQt/loader/http/headaudiostream.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headaudiostreambycontainer.h b/core/include/JellyfinQt/loader/http/headaudiostreambycontainer.h index dd3ca61..27780fb 100644 --- a/core/include/JellyfinQt/loader/http/headaudiostreambycontainer.h +++ b/core/include/JellyfinQt/loader/http/headaudiostreambycontainer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headgenreimage.h b/core/include/JellyfinQt/loader/http/headgenreimage.h index 80673e4..fe7e0ea 100644 --- a/core/include/JellyfinQt/loader/http/headgenreimage.h +++ b/core/include/JellyfinQt/loader/http/headgenreimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headgenreimagebyindex.h b/core/include/JellyfinQt/loader/http/headgenreimagebyindex.h index 80799a2..ad83cee 100644 --- a/core/include/JellyfinQt/loader/http/headgenreimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/headgenreimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headitemimage.h b/core/include/JellyfinQt/loader/http/headitemimage.h index 1f3c9f4..3dc6965 100644 --- a/core/include/JellyfinQt/loader/http/headitemimage.h +++ b/core/include/JellyfinQt/loader/http/headitemimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headitemimage2.h b/core/include/JellyfinQt/loader/http/headitemimage2.h index 9e535cf..ae4ff14 100644 --- a/core/include/JellyfinQt/loader/http/headitemimage2.h +++ b/core/include/JellyfinQt/loader/http/headitemimage2.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headitemimagebyindex.h b/core/include/JellyfinQt/loader/http/headitemimagebyindex.h index 668408d..7a5e3bc 100644 --- a/core/include/JellyfinQt/loader/http/headitemimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/headitemimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headmasterhlsaudioplaylist.h b/core/include/JellyfinQt/loader/http/headmasterhlsaudioplaylist.h index c31a372..5ec0a55 100644 --- a/core/include/JellyfinQt/loader/http/headmasterhlsaudioplaylist.h +++ b/core/include/JellyfinQt/loader/http/headmasterhlsaudioplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headmasterhlsvideoplaylist.h b/core/include/JellyfinQt/loader/http/headmasterhlsvideoplaylist.h index 157bcab..1a65f20 100644 --- a/core/include/JellyfinQt/loader/http/headmasterhlsvideoplaylist.h +++ b/core/include/JellyfinQt/loader/http/headmasterhlsvideoplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headmusicgenreimage.h b/core/include/JellyfinQt/loader/http/headmusicgenreimage.h index 6931778..d8bc48e 100644 --- a/core/include/JellyfinQt/loader/http/headmusicgenreimage.h +++ b/core/include/JellyfinQt/loader/http/headmusicgenreimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headmusicgenreimagebyindex.h b/core/include/JellyfinQt/loader/http/headmusicgenreimagebyindex.h index 445bc9e..5c2ce2d 100644 --- a/core/include/JellyfinQt/loader/http/headmusicgenreimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/headmusicgenreimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headpersonimage.h b/core/include/JellyfinQt/loader/http/headpersonimage.h index 9ab9975..778e6ec 100644 --- a/core/include/JellyfinQt/loader/http/headpersonimage.h +++ b/core/include/JellyfinQt/loader/http/headpersonimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headpersonimagebyindex.h b/core/include/JellyfinQt/loader/http/headpersonimagebyindex.h index 86568a8..faa04eb 100644 --- a/core/include/JellyfinQt/loader/http/headpersonimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/headpersonimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headstudioimage.h b/core/include/JellyfinQt/loader/http/headstudioimage.h index 685c1f4..7678a8b 100644 --- a/core/include/JellyfinQt/loader/http/headstudioimage.h +++ b/core/include/JellyfinQt/loader/http/headstudioimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headstudioimagebyindex.h b/core/include/JellyfinQt/loader/http/headstudioimagebyindex.h index b2c71d9..3d073b8 100644 --- a/core/include/JellyfinQt/loader/http/headstudioimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/headstudioimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headuniversalaudiostream.h b/core/include/JellyfinQt/loader/http/headuniversalaudiostream.h index 0bb5ef3..70e976b 100644 --- a/core/include/JellyfinQt/loader/http/headuniversalaudiostream.h +++ b/core/include/JellyfinQt/loader/http/headuniversalaudiostream.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headuserimage.h b/core/include/JellyfinQt/loader/http/headuserimage.h index ea47fdb..bc2f44c 100644 --- a/core/include/JellyfinQt/loader/http/headuserimage.h +++ b/core/include/JellyfinQt/loader/http/headuserimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headuserimagebyindex.h b/core/include/JellyfinQt/loader/http/headuserimagebyindex.h index 1fcf1b3..da4fa26 100644 --- a/core/include/JellyfinQt/loader/http/headuserimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/headuserimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headvideostream.h b/core/include/JellyfinQt/loader/http/headvideostream.h index 71c26ba..2ae85ff 100644 --- a/core/include/JellyfinQt/loader/http/headvideostream.h +++ b/core/include/JellyfinQt/loader/http/headvideostream.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/headvideostreambycontainer.h b/core/include/JellyfinQt/loader/http/headvideostreambycontainer.h index 2fd870f..1cef4aa 100644 --- a/core/include/JellyfinQt/loader/http/headvideostreambycontainer.h +++ b/core/include/JellyfinQt/loader/http/headvideostreambycontainer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/initiate.h b/core/include/JellyfinQt/loader/http/initiate.h index 85eb8ec..8cc7a0d 100644 --- a/core/include/JellyfinQt/loader/http/initiate.h +++ b/core/include/JellyfinQt/loader/http/initiate.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/quickconnectresult.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class Initiate : public Jellyfin::Support::HttpLoader { public: - explicit Initiate(ApiClient *apiClient); + explicit Initiate(ApiClient *apiClient = nullptr); protected: - QString url(const InitiateParams& parameters) const override; + QString path(const InitiateParams& parameters) const override; QUrlQuery query(const InitiateParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/installpackage.h b/core/include/JellyfinQt/loader/http/installpackage.h index d8a57e5..effbd34 100644 --- a/core/include/JellyfinQt/loader/http/installpackage.h +++ b/core/include/JellyfinQt/loader/http/installpackage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/markfavoriteitem.h b/core/include/JellyfinQt/loader/http/markfavoriteitem.h index 1e940b7..695f0cb 100644 --- a/core/include/JellyfinQt/loader/http/markfavoriteitem.h +++ b/core/include/JellyfinQt/loader/http/markfavoriteitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/useritemdatadto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class MarkFavoriteItem : public Jellyfin::Support::HttpLoader { public: - explicit MarkFavoriteItem(ApiClient *apiClient); + explicit MarkFavoriteItem(ApiClient *apiClient = nullptr); protected: - QString url(const MarkFavoriteItemParams& parameters) const override; + QString path(const MarkFavoriteItemParams& parameters) const override; QUrlQuery query(const MarkFavoriteItemParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/markplayeditem.h b/core/include/JellyfinQt/loader/http/markplayeditem.h index 6e8e9fe..5ee0499 100644 --- a/core/include/JellyfinQt/loader/http/markplayeditem.h +++ b/core/include/JellyfinQt/loader/http/markplayeditem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/useritemdatadto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class MarkPlayedItem : public Jellyfin::Support::HttpLoader { public: - explicit MarkPlayedItem(ApiClient *apiClient); + explicit MarkPlayedItem(ApiClient *apiClient = nullptr); protected: - QString url(const MarkPlayedItemParams& parameters) const override; + QString path(const MarkPlayedItemParams& parameters) const override; QUrlQuery query(const MarkPlayedItemParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/markunplayeditem.h b/core/include/JellyfinQt/loader/http/markunplayeditem.h index 9859446..c48ee90 100644 --- a/core/include/JellyfinQt/loader/http/markunplayeditem.h +++ b/core/include/JellyfinQt/loader/http/markunplayeditem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/useritemdatadto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class MarkUnplayedItem : public Jellyfin::Support::HttpLoader { public: - explicit MarkUnplayedItem(ApiClient *apiClient); + explicit MarkUnplayedItem(ApiClient *apiClient = nullptr); protected: - QString url(const MarkUnplayedItemParams& parameters) const override; + QString path(const MarkUnplayedItemParams& parameters) const override; QUrlQuery query(const MarkUnplayedItemParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/mergeversions.h b/core/include/JellyfinQt/loader/http/mergeversions.h index f78bf72..21c0160 100644 --- a/core/include/JellyfinQt/loader/http/mergeversions.h +++ b/core/include/JellyfinQt/loader/http/mergeversions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/moveitem.h b/core/include/JellyfinQt/loader/http/moveitem.h index d66e96f..5825361 100644 --- a/core/include/JellyfinQt/loader/http/moveitem.h +++ b/core/include/JellyfinQt/loader/http/moveitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/onplaybackprogress.h b/core/include/JellyfinQt/loader/http/onplaybackprogress.h index a413ec1..ac91e9f 100644 --- a/core/include/JellyfinQt/loader/http/onplaybackprogress.h +++ b/core/include/JellyfinQt/loader/http/onplaybackprogress.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/onplaybackstart.h b/core/include/JellyfinQt/loader/http/onplaybackstart.h index 618326e..3878e91 100644 --- a/core/include/JellyfinQt/loader/http/onplaybackstart.h +++ b/core/include/JellyfinQt/loader/http/onplaybackstart.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/onplaybackstopped.h b/core/include/JellyfinQt/loader/http/onplaybackstopped.h index e3bbaf9..bf35221 100644 --- a/core/include/JellyfinQt/loader/http/onplaybackstopped.h +++ b/core/include/JellyfinQt/loader/http/onplaybackstopped.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/openlivestream.h b/core/include/JellyfinQt/loader/http/openlivestream.h index 688b517..0345a5f 100644 --- a/core/include/JellyfinQt/loader/http/openlivestream.h +++ b/core/include/JellyfinQt/loader/http/openlivestream.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/livestreamresponse.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class OpenLiveStream : public Jellyfin::Support::HttpLoader { public: - explicit OpenLiveStream(ApiClient *apiClient); + explicit OpenLiveStream(ApiClient *apiClient = nullptr); protected: - QString url(const OpenLiveStreamParams& parameters) const override; + QString path(const OpenLiveStreamParams& parameters) const override; QUrlQuery query(const OpenLiveStreamParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/pingplaybacksession.h b/core/include/JellyfinQt/loader/http/pingplaybacksession.h index 95a6259..3b1ef16 100644 --- a/core/include/JellyfinQt/loader/http/pingplaybacksession.h +++ b/core/include/JellyfinQt/loader/http/pingplaybacksession.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/play.h b/core/include/JellyfinQt/loader/http/play.h index 5a05179..38fb7e8 100644 --- a/core/include/JellyfinQt/loader/http/play.h +++ b/core/include/JellyfinQt/loader/http/play.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/post.h b/core/include/JellyfinQt/loader/http/post.h index 26f47a1..73ce801 100644 --- a/core/include/JellyfinQt/loader/http/post.h +++ b/core/include/JellyfinQt/loader/http/post.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/postaddedmovies.h b/core/include/JellyfinQt/loader/http/postaddedmovies.h index df6c4f6..60d3939 100644 --- a/core/include/JellyfinQt/loader/http/postaddedmovies.h +++ b/core/include/JellyfinQt/loader/http/postaddedmovies.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/postaddedseries.h b/core/include/JellyfinQt/loader/http/postaddedseries.h index 9258fd3..4da6749 100644 --- a/core/include/JellyfinQt/loader/http/postaddedseries.h +++ b/core/include/JellyfinQt/loader/http/postaddedseries.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/postcapabilities.h b/core/include/JellyfinQt/loader/http/postcapabilities.h index 37e022c..ab27f8c 100644 --- a/core/include/JellyfinQt/loader/http/postcapabilities.h +++ b/core/include/JellyfinQt/loader/http/postcapabilities.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/postfullcapabilities.h b/core/include/JellyfinQt/loader/http/postfullcapabilities.h index d977327..5c816c3 100644 --- a/core/include/JellyfinQt/loader/http/postfullcapabilities.h +++ b/core/include/JellyfinQt/loader/http/postfullcapabilities.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/postpingsystem.h b/core/include/JellyfinQt/loader/http/postpingsystem.h index 5e33aeb..99de177 100644 --- a/core/include/JellyfinQt/loader/http/postpingsystem.h +++ b/core/include/JellyfinQt/loader/http/postpingsystem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/postupdatedmedia.h b/core/include/JellyfinQt/loader/http/postupdatedmedia.h index cd05d91..25978cb 100644 --- a/core/include/JellyfinQt/loader/http/postupdatedmedia.h +++ b/core/include/JellyfinQt/loader/http/postupdatedmedia.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/postupdatedmovies.h b/core/include/JellyfinQt/loader/http/postupdatedmovies.h index 421fb7a..36299c2 100644 --- a/core/include/JellyfinQt/loader/http/postupdatedmovies.h +++ b/core/include/JellyfinQt/loader/http/postupdatedmovies.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/postupdatedseries.h b/core/include/JellyfinQt/loader/http/postupdatedseries.h index b16a60e..55f44e7 100644 --- a/core/include/JellyfinQt/loader/http/postupdatedseries.h +++ b/core/include/JellyfinQt/loader/http/postupdatedseries.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/postuserimage.h b/core/include/JellyfinQt/loader/http/postuserimage.h index c39e998..9ead83b 100644 --- a/core/include/JellyfinQt/loader/http/postuserimage.h +++ b/core/include/JellyfinQt/loader/http/postuserimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/postuserimagebyindex.h b/core/include/JellyfinQt/loader/http/postuserimagebyindex.h index 84c14fe..7264d71 100644 --- a/core/include/JellyfinQt/loader/http/postuserimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/postuserimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/processconnectionmanagercontrolrequest.h b/core/include/JellyfinQt/loader/http/processconnectionmanagercontrolrequest.h index fd6019e..198787a 100644 --- a/core/include/JellyfinQt/loader/http/processconnectionmanagercontrolrequest.h +++ b/core/include/JellyfinQt/loader/http/processconnectionmanagercontrolrequest.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/processcontentdirectorycontrolrequest.h b/core/include/JellyfinQt/loader/http/processcontentdirectorycontrolrequest.h index bdcfe99..377ea6e 100644 --- a/core/include/JellyfinQt/loader/http/processcontentdirectorycontrolrequest.h +++ b/core/include/JellyfinQt/loader/http/processcontentdirectorycontrolrequest.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/processmediareceiverregistrarcontrolrequest.h b/core/include/JellyfinQt/loader/http/processmediareceiverregistrarcontrolrequest.h index 5ad7ae8..cba7bc8 100644 --- a/core/include/JellyfinQt/loader/http/processmediareceiverregistrarcontrolrequest.h +++ b/core/include/JellyfinQt/loader/http/processmediareceiverregistrarcontrolrequest.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/refreshlibrary.h b/core/include/JellyfinQt/loader/http/refreshlibrary.h index 9ecbde1..de2d496 100644 --- a/core/include/JellyfinQt/loader/http/refreshlibrary.h +++ b/core/include/JellyfinQt/loader/http/refreshlibrary.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/removefromcollection.h b/core/include/JellyfinQt/loader/http/removefromcollection.h index d382fdd..f2e847d 100644 --- a/core/include/JellyfinQt/loader/http/removefromcollection.h +++ b/core/include/JellyfinQt/loader/http/removefromcollection.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/removefromplaylist.h b/core/include/JellyfinQt/loader/http/removefromplaylist.h index 932da58..50a8096 100644 --- a/core/include/JellyfinQt/loader/http/removefromplaylist.h +++ b/core/include/JellyfinQt/loader/http/removefromplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/removemediapath.h b/core/include/JellyfinQt/loader/http/removemediapath.h index 11fac8b..1d971b5 100644 --- a/core/include/JellyfinQt/loader/http/removemediapath.h +++ b/core/include/JellyfinQt/loader/http/removemediapath.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/removeuserfromsession.h b/core/include/JellyfinQt/loader/http/removeuserfromsession.h index 4ca9208..faf1f3e 100644 --- a/core/include/JellyfinQt/loader/http/removeuserfromsession.h +++ b/core/include/JellyfinQt/loader/http/removeuserfromsession.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/removevirtualfolder.h b/core/include/JellyfinQt/loader/http/removevirtualfolder.h index 3bbdaad..feb096c 100644 --- a/core/include/JellyfinQt/loader/http/removevirtualfolder.h +++ b/core/include/JellyfinQt/loader/http/removevirtualfolder.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/renamevirtualfolder.h b/core/include/JellyfinQt/loader/http/renamevirtualfolder.h index 4da0c8a..618177b 100644 --- a/core/include/JellyfinQt/loader/http/renamevirtualfolder.h +++ b/core/include/JellyfinQt/loader/http/renamevirtualfolder.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/reportplaybackprogress.h b/core/include/JellyfinQt/loader/http/reportplaybackprogress.h index 7068d7b..5d42968 100644 --- a/core/include/JellyfinQt/loader/http/reportplaybackprogress.h +++ b/core/include/JellyfinQt/loader/http/reportplaybackprogress.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/reportplaybackstart.h b/core/include/JellyfinQt/loader/http/reportplaybackstart.h index 33c988c..f61ffd8 100644 --- a/core/include/JellyfinQt/loader/http/reportplaybackstart.h +++ b/core/include/JellyfinQt/loader/http/reportplaybackstart.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/reportplaybackstopped.h b/core/include/JellyfinQt/loader/http/reportplaybackstopped.h index 76c8a50..ba7b454 100644 --- a/core/include/JellyfinQt/loader/http/reportplaybackstopped.h +++ b/core/include/JellyfinQt/loader/http/reportplaybackstopped.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/reportsessionended.h b/core/include/JellyfinQt/loader/http/reportsessionended.h index 60874b4..fa8400f 100644 --- a/core/include/JellyfinQt/loader/http/reportsessionended.h +++ b/core/include/JellyfinQt/loader/http/reportsessionended.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/reportviewing.h b/core/include/JellyfinQt/loader/http/reportviewing.h index a0af0b1..b945447 100644 --- a/core/include/JellyfinQt/loader/http/reportviewing.h +++ b/core/include/JellyfinQt/loader/http/reportviewing.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/resettuner.h b/core/include/JellyfinQt/loader/http/resettuner.h index 85da994..3926b97 100644 --- a/core/include/JellyfinQt/loader/http/resettuner.h +++ b/core/include/JellyfinQt/loader/http/resettuner.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/restartapplication.h b/core/include/JellyfinQt/loader/http/restartapplication.h index 998e90c..fe23490 100644 --- a/core/include/JellyfinQt/loader/http/restartapplication.h +++ b/core/include/JellyfinQt/loader/http/restartapplication.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/revokekey.h b/core/include/JellyfinQt/loader/http/revokekey.h index d2f33e9..9eb0412 100644 --- a/core/include/JellyfinQt/loader/http/revokekey.h +++ b/core/include/JellyfinQt/loader/http/revokekey.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/searchremotesubtitles.h b/core/include/JellyfinQt/loader/http/searchremotesubtitles.h index cf9b123..5c4e1bc 100644 --- a/core/include/JellyfinQt/loader/http/searchremotesubtitles.h +++ b/core/include/JellyfinQt/loader/http/searchremotesubtitles.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/sendfullgeneralcommand.h b/core/include/JellyfinQt/loader/http/sendfullgeneralcommand.h index b63f5a3..7a4280b 100644 --- a/core/include/JellyfinQt/loader/http/sendfullgeneralcommand.h +++ b/core/include/JellyfinQt/loader/http/sendfullgeneralcommand.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/sendgeneralcommand.h b/core/include/JellyfinQt/loader/http/sendgeneralcommand.h index 875043d..825af46 100644 --- a/core/include/JellyfinQt/loader/http/sendgeneralcommand.h +++ b/core/include/JellyfinQt/loader/http/sendgeneralcommand.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/sendmessagecommand.h b/core/include/JellyfinQt/loader/http/sendmessagecommand.h index c0895f5..b70cf30 100644 --- a/core/include/JellyfinQt/loader/http/sendmessagecommand.h +++ b/core/include/JellyfinQt/loader/http/sendmessagecommand.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/sendplaystatecommand.h b/core/include/JellyfinQt/loader/http/sendplaystatecommand.h index 25b605c..2bad853 100644 --- a/core/include/JellyfinQt/loader/http/sendplaystatecommand.h +++ b/core/include/JellyfinQt/loader/http/sendplaystatecommand.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/sendsystemcommand.h b/core/include/JellyfinQt/loader/http/sendsystemcommand.h index 6b13a5b..a5d0959 100644 --- a/core/include/JellyfinQt/loader/http/sendsystemcommand.h +++ b/core/include/JellyfinQt/loader/http/sendsystemcommand.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/setchannelmapping.h b/core/include/JellyfinQt/loader/http/setchannelmapping.h index 8bf8b9b..8584abc 100644 --- a/core/include/JellyfinQt/loader/http/setchannelmapping.h +++ b/core/include/JellyfinQt/loader/http/setchannelmapping.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/tunerchannelmapping.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class SetChannelMapping : public Jellyfin::Support::HttpLoader { public: - explicit SetChannelMapping(ApiClient *apiClient); + explicit SetChannelMapping(ApiClient *apiClient = nullptr); protected: - QString url(const SetChannelMappingParams& parameters) const override; + QString path(const SetChannelMappingParams& parameters) const override; QUrlQuery query(const SetChannelMappingParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/setitemimage.h b/core/include/JellyfinQt/loader/http/setitemimage.h index b1e3dee..906f91d 100644 --- a/core/include/JellyfinQt/loader/http/setitemimage.h +++ b/core/include/JellyfinQt/loader/http/setitemimage.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/setitemimagebyindex.h b/core/include/JellyfinQt/loader/http/setitemimagebyindex.h index 0b0db1b..154e2d3 100644 --- a/core/include/JellyfinQt/loader/http/setitemimagebyindex.h +++ b/core/include/JellyfinQt/loader/http/setitemimagebyindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/setread.h b/core/include/JellyfinQt/loader/http/setread.h index aa973e5..3a53af1 100644 --- a/core/include/JellyfinQt/loader/http/setread.h +++ b/core/include/JellyfinQt/loader/http/setread.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/setremoteaccess.h b/core/include/JellyfinQt/loader/http/setremoteaccess.h index 2744e73..efd5087 100644 --- a/core/include/JellyfinQt/loader/http/setremoteaccess.h +++ b/core/include/JellyfinQt/loader/http/setremoteaccess.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/setrepositories.h b/core/include/JellyfinQt/loader/http/setrepositories.h index b9b524d..fa58628 100644 --- a/core/include/JellyfinQt/loader/http/setrepositories.h +++ b/core/include/JellyfinQt/loader/http/setrepositories.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/setunread.h b/core/include/JellyfinQt/loader/http/setunread.h index bc689db..30e77ab 100644 --- a/core/include/JellyfinQt/loader/http/setunread.h +++ b/core/include/JellyfinQt/loader/http/setunread.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/shutdownapplication.h b/core/include/JellyfinQt/loader/http/shutdownapplication.h index 8db9fb0..aba670e 100644 --- a/core/include/JellyfinQt/loader/http/shutdownapplication.h +++ b/core/include/JellyfinQt/loader/http/shutdownapplication.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/starttask.h b/core/include/JellyfinQt/loader/http/starttask.h index 9b588ea..7f7246f 100644 --- a/core/include/JellyfinQt/loader/http/starttask.h +++ b/core/include/JellyfinQt/loader/http/starttask.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/stopencodingprocess.h b/core/include/JellyfinQt/loader/http/stopencodingprocess.h index ab62eb0..34c9309 100644 --- a/core/include/JellyfinQt/loader/http/stopencodingprocess.h +++ b/core/include/JellyfinQt/loader/http/stopencodingprocess.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/stoptask.h b/core/include/JellyfinQt/loader/http/stoptask.h index 0bf3338..ce00e08 100644 --- a/core/include/JellyfinQt/loader/http/stoptask.h +++ b/core/include/JellyfinQt/loader/http/stoptask.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaybuffering.h b/core/include/JellyfinQt/loader/http/syncplaybuffering.h index 70379cf..1e33f13 100644 --- a/core/include/JellyfinQt/loader/http/syncplaybuffering.h +++ b/core/include/JellyfinQt/loader/http/syncplaybuffering.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaycreategroup.h b/core/include/JellyfinQt/loader/http/syncplaycreategroup.h index e368985..5f9d117 100644 --- a/core/include/JellyfinQt/loader/http/syncplaycreategroup.h +++ b/core/include/JellyfinQt/loader/http/syncplaycreategroup.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaygetgroups.h b/core/include/JellyfinQt/loader/http/syncplaygetgroups.h index dbd98db..5e21335 100644 --- a/core/include/JellyfinQt/loader/http/syncplaygetgroups.h +++ b/core/include/JellyfinQt/loader/http/syncplaygetgroups.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplayjoingroup.h b/core/include/JellyfinQt/loader/http/syncplayjoingroup.h index 64df66d..9646c60 100644 --- a/core/include/JellyfinQt/loader/http/syncplayjoingroup.h +++ b/core/include/JellyfinQt/loader/http/syncplayjoingroup.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplayleavegroup.h b/core/include/JellyfinQt/loader/http/syncplayleavegroup.h index 6105b17..a9c4738 100644 --- a/core/include/JellyfinQt/loader/http/syncplayleavegroup.h +++ b/core/include/JellyfinQt/loader/http/syncplayleavegroup.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaymoveplaylistitem.h b/core/include/JellyfinQt/loader/http/syncplaymoveplaylistitem.h index c2ba512..43a5359 100644 --- a/core/include/JellyfinQt/loader/http/syncplaymoveplaylistitem.h +++ b/core/include/JellyfinQt/loader/http/syncplaymoveplaylistitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaynextitem.h b/core/include/JellyfinQt/loader/http/syncplaynextitem.h index c825208..11db89d 100644 --- a/core/include/JellyfinQt/loader/http/syncplaynextitem.h +++ b/core/include/JellyfinQt/loader/http/syncplaynextitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaypause.h b/core/include/JellyfinQt/loader/http/syncplaypause.h index 87cb5c0..4c43931 100644 --- a/core/include/JellyfinQt/loader/http/syncplaypause.h +++ b/core/include/JellyfinQt/loader/http/syncplaypause.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplayping.h b/core/include/JellyfinQt/loader/http/syncplayping.h index cc4ccf5..2d6f606 100644 --- a/core/include/JellyfinQt/loader/http/syncplayping.h +++ b/core/include/JellyfinQt/loader/http/syncplayping.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaypreviousitem.h b/core/include/JellyfinQt/loader/http/syncplaypreviousitem.h index 5daf4a7..5eb61d9 100644 --- a/core/include/JellyfinQt/loader/http/syncplaypreviousitem.h +++ b/core/include/JellyfinQt/loader/http/syncplaypreviousitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplayqueue.h b/core/include/JellyfinQt/loader/http/syncplayqueue.h index f86aa29..58ffed1 100644 --- a/core/include/JellyfinQt/loader/http/syncplayqueue.h +++ b/core/include/JellyfinQt/loader/http/syncplayqueue.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplayready.h b/core/include/JellyfinQt/loader/http/syncplayready.h index 7147ce2..32ada80 100644 --- a/core/include/JellyfinQt/loader/http/syncplayready.h +++ b/core/include/JellyfinQt/loader/http/syncplayready.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplayremovefromplaylist.h b/core/include/JellyfinQt/loader/http/syncplayremovefromplaylist.h index 210bb42..801cb1f 100644 --- a/core/include/JellyfinQt/loader/http/syncplayremovefromplaylist.h +++ b/core/include/JellyfinQt/loader/http/syncplayremovefromplaylist.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplayseek.h b/core/include/JellyfinQt/loader/http/syncplayseek.h index 03c339b..f551fd6 100644 --- a/core/include/JellyfinQt/loader/http/syncplayseek.h +++ b/core/include/JellyfinQt/loader/http/syncplayseek.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaysetignorewait.h b/core/include/JellyfinQt/loader/http/syncplaysetignorewait.h index e2540a4..dd16eab 100644 --- a/core/include/JellyfinQt/loader/http/syncplaysetignorewait.h +++ b/core/include/JellyfinQt/loader/http/syncplaysetignorewait.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaysetnewqueue.h b/core/include/JellyfinQt/loader/http/syncplaysetnewqueue.h index c71f248..d7e0fc7 100644 --- a/core/include/JellyfinQt/loader/http/syncplaysetnewqueue.h +++ b/core/include/JellyfinQt/loader/http/syncplaysetnewqueue.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaysetplaylistitem.h b/core/include/JellyfinQt/loader/http/syncplaysetplaylistitem.h index 8abd017..b4a68bd 100644 --- a/core/include/JellyfinQt/loader/http/syncplaysetplaylistitem.h +++ b/core/include/JellyfinQt/loader/http/syncplaysetplaylistitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaysetrepeatmode.h b/core/include/JellyfinQt/loader/http/syncplaysetrepeatmode.h index 85483a1..de88f77 100644 --- a/core/include/JellyfinQt/loader/http/syncplaysetrepeatmode.h +++ b/core/include/JellyfinQt/loader/http/syncplaysetrepeatmode.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaysetshufflemode.h b/core/include/JellyfinQt/loader/http/syncplaysetshufflemode.h index 7731d4f..8b76c84 100644 --- a/core/include/JellyfinQt/loader/http/syncplaysetshufflemode.h +++ b/core/include/JellyfinQt/loader/http/syncplaysetshufflemode.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplaystop.h b/core/include/JellyfinQt/loader/http/syncplaystop.h index 47383a2..fc344c4 100644 --- a/core/include/JellyfinQt/loader/http/syncplaystop.h +++ b/core/include/JellyfinQt/loader/http/syncplaystop.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/syncplayunpause.h b/core/include/JellyfinQt/loader/http/syncplayunpause.h index 83c8a8b..2024dc5 100644 --- a/core/include/JellyfinQt/loader/http/syncplayunpause.h +++ b/core/include/JellyfinQt/loader/http/syncplayunpause.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/uninstallplugin.h b/core/include/JellyfinQt/loader/http/uninstallplugin.h index 64cea3a..5749a0c 100644 --- a/core/include/JellyfinQt/loader/http/uninstallplugin.h +++ b/core/include/JellyfinQt/loader/http/uninstallplugin.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/uninstallpluginbyversion.h b/core/include/JellyfinQt/loader/http/uninstallpluginbyversion.h index 41d394c..00b396f 100644 --- a/core/include/JellyfinQt/loader/http/uninstallpluginbyversion.h +++ b/core/include/JellyfinQt/loader/http/uninstallpluginbyversion.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/unmarkfavoriteitem.h b/core/include/JellyfinQt/loader/http/unmarkfavoriteitem.h index daec845..75cd33a 100644 --- a/core/include/JellyfinQt/loader/http/unmarkfavoriteitem.h +++ b/core/include/JellyfinQt/loader/http/unmarkfavoriteitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/useritemdatadto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class UnmarkFavoriteItem : public Jellyfin::Support::HttpLoader { public: - explicit UnmarkFavoriteItem(ApiClient *apiClient); + explicit UnmarkFavoriteItem(ApiClient *apiClient = nullptr); protected: - QString url(const UnmarkFavoriteItemParams& parameters) const override; + QString path(const UnmarkFavoriteItemParams& parameters) const override; QUrlQuery query(const UnmarkFavoriteItemParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/updateconfiguration.h b/core/include/JellyfinQt/loader/http/updateconfiguration.h index f20f985..f524c37 100644 --- a/core/include/JellyfinQt/loader/http/updateconfiguration.h +++ b/core/include/JellyfinQt/loader/http/updateconfiguration.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatedeviceoptions.h b/core/include/JellyfinQt/loader/http/updatedeviceoptions.h index 1b6e2a4..b950453 100644 --- a/core/include/JellyfinQt/loader/http/updatedeviceoptions.h +++ b/core/include/JellyfinQt/loader/http/updatedeviceoptions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatedisplaypreferences.h b/core/include/JellyfinQt/loader/http/updatedisplaypreferences.h index 9961491..7c45fb4 100644 --- a/core/include/JellyfinQt/loader/http/updatedisplaypreferences.h +++ b/core/include/JellyfinQt/loader/http/updatedisplaypreferences.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateinitialconfiguration.h b/core/include/JellyfinQt/loader/http/updateinitialconfiguration.h index 4974e5b..fb3943e 100644 --- a/core/include/JellyfinQt/loader/http/updateinitialconfiguration.h +++ b/core/include/JellyfinQt/loader/http/updateinitialconfiguration.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateitem.h b/core/include/JellyfinQt/loader/http/updateitem.h index c9edba9..27819e8 100644 --- a/core/include/JellyfinQt/loader/http/updateitem.h +++ b/core/include/JellyfinQt/loader/http/updateitem.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateitemcontenttype.h b/core/include/JellyfinQt/loader/http/updateitemcontenttype.h index 38e8a02..4384d29 100644 --- a/core/include/JellyfinQt/loader/http/updateitemcontenttype.h +++ b/core/include/JellyfinQt/loader/http/updateitemcontenttype.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateitemimageindex.h b/core/include/JellyfinQt/loader/http/updateitemimageindex.h index 0c18a51..dcccde8 100644 --- a/core/include/JellyfinQt/loader/http/updateitemimageindex.h +++ b/core/include/JellyfinQt/loader/http/updateitemimageindex.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatelibraryoptions.h b/core/include/JellyfinQt/loader/http/updatelibraryoptions.h index b8a226b..d74bdaf 100644 --- a/core/include/JellyfinQt/loader/http/updatelibraryoptions.h +++ b/core/include/JellyfinQt/loader/http/updatelibraryoptions.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatemediaencoderpath.h b/core/include/JellyfinQt/loader/http/updatemediaencoderpath.h index 3f3fdaf..f0046c8 100644 --- a/core/include/JellyfinQt/loader/http/updatemediaencoderpath.h +++ b/core/include/JellyfinQt/loader/http/updatemediaencoderpath.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatemediapath.h b/core/include/JellyfinQt/loader/http/updatemediapath.h index 899b1e7..393e347 100644 --- a/core/include/JellyfinQt/loader/http/updatemediapath.h +++ b/core/include/JellyfinQt/loader/http/updatemediapath.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatenamedconfiguration.h b/core/include/JellyfinQt/loader/http/updatenamedconfiguration.h index 899b477..b0b9a2b 100644 --- a/core/include/JellyfinQt/loader/http/updatenamedconfiguration.h +++ b/core/include/JellyfinQt/loader/http/updatenamedconfiguration.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatepluginconfiguration.h b/core/include/JellyfinQt/loader/http/updatepluginconfiguration.h index 910b88e..f2387e2 100644 --- a/core/include/JellyfinQt/loader/http/updatepluginconfiguration.h +++ b/core/include/JellyfinQt/loader/http/updatepluginconfiguration.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatepluginsecurityinfo.h b/core/include/JellyfinQt/loader/http/updatepluginsecurityinfo.h index fbc970c..adb8280 100644 --- a/core/include/JellyfinQt/loader/http/updatepluginsecurityinfo.h +++ b/core/include/JellyfinQt/loader/http/updatepluginsecurityinfo.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateprofile.h b/core/include/JellyfinQt/loader/http/updateprofile.h index bc6c026..9b9b211 100644 --- a/core/include/JellyfinQt/loader/http/updateprofile.h +++ b/core/include/JellyfinQt/loader/http/updateprofile.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateseriestimer.h b/core/include/JellyfinQt/loader/http/updateseriestimer.h index 99f2715..61d7249 100644 --- a/core/include/JellyfinQt/loader/http/updateseriestimer.h +++ b/core/include/JellyfinQt/loader/http/updateseriestimer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatestartupuser.h b/core/include/JellyfinQt/loader/http/updatestartupuser.h index 904918b..48cd032 100644 --- a/core/include/JellyfinQt/loader/http/updatestartupuser.h +++ b/core/include/JellyfinQt/loader/http/updatestartupuser.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatetask.h b/core/include/JellyfinQt/loader/http/updatetask.h index 92f4392..232777f 100644 --- a/core/include/JellyfinQt/loader/http/updatetask.h +++ b/core/include/JellyfinQt/loader/http/updatetask.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updatetimer.h b/core/include/JellyfinQt/loader/http/updatetimer.h index 15fbf90..63e1e36 100644 --- a/core/include/JellyfinQt/loader/http/updatetimer.h +++ b/core/include/JellyfinQt/loader/http/updatetimer.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateuser.h b/core/include/JellyfinQt/loader/http/updateuser.h index 3f3e9ea..30193b8 100644 --- a/core/include/JellyfinQt/loader/http/updateuser.h +++ b/core/include/JellyfinQt/loader/http/updateuser.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateuserconfiguration.h b/core/include/JellyfinQt/loader/http/updateuserconfiguration.h index 2ea5877..7ed59f2 100644 --- a/core/include/JellyfinQt/loader/http/updateuserconfiguration.h +++ b/core/include/JellyfinQt/loader/http/updateuserconfiguration.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateusereasypassword.h b/core/include/JellyfinQt/loader/http/updateusereasypassword.h index 572133c..0066470 100644 --- a/core/include/JellyfinQt/loader/http/updateusereasypassword.h +++ b/core/include/JellyfinQt/loader/http/updateusereasypassword.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateuseritemrating.h b/core/include/JellyfinQt/loader/http/updateuseritemrating.h index 3934267..2f58355 100644 --- a/core/include/JellyfinQt/loader/http/updateuseritemrating.h +++ b/core/include/JellyfinQt/loader/http/updateuseritemrating.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" #include "JellyfinQt/dto/useritemdatadto.h" namespace Jellyfin { @@ -46,10 +47,10 @@ namespace HTTP { */ class UpdateUserItemRating : public Jellyfin::Support::HttpLoader { public: - explicit UpdateUserItemRating(ApiClient *apiClient); + explicit UpdateUserItemRating(ApiClient *apiClient = nullptr); protected: - QString url(const UpdateUserItemRatingParams& parameters) const override; + QString path(const UpdateUserItemRatingParams& parameters) const override; QUrlQuery query(const UpdateUserItemRatingParams& parameters) const override; }; diff --git a/core/include/JellyfinQt/loader/http/updateuserpassword.h b/core/include/JellyfinQt/loader/http/updateuserpassword.h index 38e69ae..0efcadc 100644 --- a/core/include/JellyfinQt/loader/http/updateuserpassword.h +++ b/core/include/JellyfinQt/loader/http/updateuserpassword.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/updateuserpolicy.h b/core/include/JellyfinQt/loader/http/updateuserpolicy.h index 1724c05..e0ce1f9 100644 --- a/core/include/JellyfinQt/loader/http/updateuserpolicy.h +++ b/core/include/JellyfinQt/loader/http/updateuserpolicy.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/uploadsubtitle.h b/core/include/JellyfinQt/loader/http/uploadsubtitle.h index 79a3442..da7988a 100644 --- a/core/include/JellyfinQt/loader/http/uploadsubtitle.h +++ b/core/include/JellyfinQt/loader/http/uploadsubtitle.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/http/validatepath.h b/core/include/JellyfinQt/loader/http/validatepath.h index f2ae0c4..a68f327 100644 --- a/core/include/JellyfinQt/loader/http/validatepath.h +++ b/core/include/JellyfinQt/loader/http/validatepath.h @@ -32,9 +32,10 @@ #include +#include "JellyfinQt/support/jsonconv.h" #include "JellyfinQt/support/loader.h" -#include "JellyfinQt/apiclient.h" #include "JellyfinQt/loader/requesttypes.h" +#include "JellyfinQt/apiclient.h" namespace Jellyfin { namespace Loader { diff --git a/core/include/JellyfinQt/loader/requesttypes.h b/core/include/JellyfinQt/loader/requesttypes.h index 571c639..d4ac41e 100644 --- a/core/include/JellyfinQt/loader/requesttypes.h +++ b/core/include/JellyfinQt/loader/requesttypes.h @@ -62,14057 +62,13 @@ namespace Jellyfin { namespace Loader { using namespace Jellyfin::DTO; -class GetLogEntriesParams { -public: - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. The minimum date. Format = ISO. - */ - QDateTime minDate() const; - void setMinDate(QDateTime newMinDate) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Filter log entries if it has user id, or not. - */ - std::optional hasUserId() const; - void setHasUserId(std::optional newHasUserId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_startIndex = std::nullopt; - QDateTime m_minDate; - std::optional m_limit = std::nullopt; - std::optional m_hasUserId = std::nullopt; - -}; - -class GetKeysParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class CreateKeyParams { -public: - /** - * @brief Name of the app using the authentication key. - */ - QString app() const; - void setApp(QString newApp) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_app; - - // Optional path parameters - - // Optional query parameters - -}; - -class RevokeKeyParams { -public: - /** - * @brief The access token to delete. - */ - QString key() const; - void setKey(QString newKey) const; - - -private: - // Required path parameters - QString m_key; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetArtistsParams { -public: - /** - * @brief Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. - */ - QList years() const; - void setYears(QList newYears) const; - - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. - */ - QStringList tags() const; - void setTags(QStringList newTags) const; - - /** - * @brief Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. - */ - QStringList studios() const; - void setStudios(QStringList newStudios) const; - - /** - * @brief Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. - */ - QStringList studioIds() const; - void setStudioIds(QStringList newStudioIds) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. Search term. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. - */ - QStringList personTypes() const; - void setPersonTypes(QStringList newPersonTypes) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified person ids. - */ - QStringList personIds() const; - void setPersonIds(QStringList newPersonIds) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified person. - */ - QString person() const; - void setPerson(QString newPerson) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. - */ - QStringList officialRatings() const; - void setOfficialRatings(QStringList newOfficialRatings) const; - - /** - * @brief Optional filter by items whose name is sorted equally or greater than a given input string. - */ - QString nameStartsWithOrGreater() const; - void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) const; - - /** - * @brief Optional filter by items whose name is sorted equally than a given input string. - */ - QString nameStartsWith() const; - void setNameStartsWith(QString newNameStartsWith) const; - - /** - * @brief Optional filter by items whose name is equally or lesser than a given input string. - */ - QString nameLessThan() const; - void setNameLessThan(QString newNameLessThan) const; - - /** - * @brief Optional filter by minimum community rating. - */ - std::optional minCommunityRating() const; - void setMinCommunityRating(std::optional newMinCommunityRating) const; - - /** - * @brief Optional filter by MediaType. Allows multiple, comma delimited. - */ - QStringList mediaTypes() const; - void setMediaTypes(QStringList newMediaTypes) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional filter by items that are marked as favorite, or not. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - /** - * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional, the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. - */ - QStringList genres() const; - void setGenres(QStringList newGenres) const; - - /** - * @brief Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. - */ - QStringList genreIds() const; - void setGenreIds(QStringList newGenreIds) const; - - /** - * @brief Optional. Specify additional filters to apply. - */ - QList filters() const; - void setFilters(QList newFilters) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - /** - * @brief Optional, include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional, include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QList m_years; - QString m_userId; - QStringList m_tags; - QStringList m_studios; - QStringList m_studioIds; - std::optional m_startIndex = std::nullopt; - QString m_searchTerm; - QStringList m_personTypes; - QStringList m_personIds; - QString m_person; - QString m_parentId; - QStringList m_officialRatings; - QString m_nameStartsWithOrGreater; - QString m_nameStartsWith; - QString m_nameLessThan; - std::optional m_minCommunityRating = std::nullopt; - QStringList m_mediaTypes; - std::optional m_limit = std::nullopt; - std::optional m_isFavorite = std::nullopt; - QStringList m_includeItemTypes; - std::optional m_imageTypeLimit = std::nullopt; - QStringList m_genres; - QStringList m_genreIds; - QList m_filters; - QList m_fields; - QStringList m_excludeItemTypes; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetArtistByNameParams { -public: - /** - * @brief Studio name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_name; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class GetAlbumArtistsParams { -public: - /** - * @brief Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. - */ - QList years() const; - void setYears(QList newYears) const; - - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. - */ - QStringList tags() const; - void setTags(QStringList newTags) const; - - /** - * @brief Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. - */ - QStringList studios() const; - void setStudios(QStringList newStudios) const; - - /** - * @brief Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. - */ - QStringList studioIds() const; - void setStudioIds(QStringList newStudioIds) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. Search term. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. - */ - QStringList personTypes() const; - void setPersonTypes(QStringList newPersonTypes) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified person ids. - */ - QStringList personIds() const; - void setPersonIds(QStringList newPersonIds) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified person. - */ - QString person() const; - void setPerson(QString newPerson) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. - */ - QStringList officialRatings() const; - void setOfficialRatings(QStringList newOfficialRatings) const; - - /** - * @brief Optional filter by items whose name is sorted equally or greater than a given input string. - */ - QString nameStartsWithOrGreater() const; - void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) const; - - /** - * @brief Optional filter by items whose name is sorted equally than a given input string. - */ - QString nameStartsWith() const; - void setNameStartsWith(QString newNameStartsWith) const; - - /** - * @brief Optional filter by items whose name is equally or lesser than a given input string. - */ - QString nameLessThan() const; - void setNameLessThan(QString newNameLessThan) const; - - /** - * @brief Optional filter by minimum community rating. - */ - std::optional minCommunityRating() const; - void setMinCommunityRating(std::optional newMinCommunityRating) const; - - /** - * @brief Optional filter by MediaType. Allows multiple, comma delimited. - */ - QStringList mediaTypes() const; - void setMediaTypes(QStringList newMediaTypes) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional filter by items that are marked as favorite, or not. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - /** - * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional, the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. - */ - QStringList genres() const; - void setGenres(QStringList newGenres) const; - - /** - * @brief Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. - */ - QStringList genreIds() const; - void setGenreIds(QStringList newGenreIds) const; - - /** - * @brief Optional. Specify additional filters to apply. - */ - QList filters() const; - void setFilters(QList newFilters) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - /** - * @brief Optional, include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional, include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QList m_years; - QString m_userId; - QStringList m_tags; - QStringList m_studios; - QStringList m_studioIds; - std::optional m_startIndex = std::nullopt; - QString m_searchTerm; - QStringList m_personTypes; - QStringList m_personIds; - QString m_person; - QString m_parentId; - QStringList m_officialRatings; - QString m_nameStartsWithOrGreater; - QString m_nameStartsWith; - QString m_nameLessThan; - std::optional m_minCommunityRating = std::nullopt; - QStringList m_mediaTypes; - std::optional m_limit = std::nullopt; - std::optional m_isFavorite = std::nullopt; - QStringList m_includeItemTypes; - std::optional m_imageTypeLimit = std::nullopt; - QStringList m_genres; - QStringList m_genreIds; - QList m_filters; - QList m_fields; - QStringList m_excludeItemTypes; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetAudioStreamParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief The audio container. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - QString m_container; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class HeadAudioStreamParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief The audio container. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - QString m_container; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class GetAudioStreamByContainerParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The audio container. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment lenght. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamporphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - QString m_container; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class HeadAudioStreamByContainerParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The audio container. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment lenght. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamporphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - QString m_container; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class GetBrandingOptionsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetBrandingCssParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetBrandingCss_2Params { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetChannelsParams { -public: - /** - * @brief User Id to filter by. Use System.Guid.Empty to not filter by user. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Filter by channels that support media deletion. - */ - std::optional supportsMediaDeletion() const; - void setSupportsMediaDeletion(std::optional newSupportsMediaDeletion) const; - - /** - * @brief Optional. Filter by channels that support getting latest items. - */ - std::optional supportsLatestItems() const; - void setSupportsLatestItems(std::optional newSupportsLatestItems) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Filter by channels that are favorite. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_supportsMediaDeletion = std::nullopt; - std::optional m_supportsLatestItems = std::nullopt; - std::optional m_startIndex = std::nullopt; - std::optional m_limit = std::nullopt; - std::optional m_isFavorite = std::nullopt; - -}; - -class GetChannelFeaturesParams { -public: - /** - * @brief Channel id. - */ - QString channelId() const; - void setChannelId(QString newChannelId) const; - - -private: - // Required path parameters - QString m_channelId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetChannelItemsParams { -public: - /** - * @brief Channel Id. - */ - QString channelId() const; - void setChannelId(QString newChannelId) const; - - /** - * @brief Optional. User Id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. Sort Order - Ascending,Descending. - */ - QString sortOrder() const; - void setSortOrder(QString newSortOrder) const; - - /** - * @brief Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - */ - QString sortBy() const; - void setSortBy(QString newSortBy) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Folder Id. - */ - QString folderId() const; - void setFolderId(QString newFolderId) const; - - /** - * @brief Optional. Specify additional filters to apply. - */ - QList filters() const; - void setFilters(QList newFilters) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - -private: - // Required path parameters - QString m_channelId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_startIndex = std::nullopt; - QString m_sortOrder; - QString m_sortBy; - std::optional m_limit = std::nullopt; - QString m_folderId; - QList m_filters; - QList m_fields; - -}; - -class GetAllChannelFeaturesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetLatestChannelItemsParams { -public: - /** - * @brief Optional. User Id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Specify additional filters to apply. - */ - QList filters() const; - void setFilters(QList newFilters) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Specify one or more channel id's, comma delimited. - */ - QStringList channelIds() const; - void setChannelIds(QStringList newChannelIds) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_startIndex = std::nullopt; - std::optional m_limit = std::nullopt; - QList m_filters; - QList m_fields; - QStringList m_channelIds; - -}; - -class CreateCollectionParams { -public: - /** - * @brief Optional. Create the collection within a specific folder. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief The name of the collection. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Whether or not to lock the new collection. - */ - bool isLocked() const; - void setIsLocked(bool newIsLocked) const; - - /** - * @brief Item Ids to add to the collection. - */ - QStringList ids() const; - void setIds(QStringList newIds) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_parentId; - QString m_name; - bool m_isLocked; - QStringList m_ids; - -}; - -class AddToCollectionParams { -public: - /** - * @brief The collection id. - */ - QString collectionId() const; - void setCollectionId(QString newCollectionId) const; - - /** - * @brief Item ids, comma delimited. - */ - QStringList ids() const; - void setIds(QStringList newIds) const; - - -private: - // Required path parameters - QString m_collectionId; - - // Required query parameters - QStringList m_ids; - - // Optional path parameters - - // Optional query parameters - -}; - -class RemoveFromCollectionParams { -public: - /** - * @brief The collection id. - */ - QString collectionId() const; - void setCollectionId(QString newCollectionId) const; - - /** - * @brief Item ids, comma delimited. - */ - QStringList ids() const; - void setIds(QStringList newIds) const; - - -private: - // Required path parameters - QString m_collectionId; - - // Required query parameters - QStringList m_ids; - - // Optional path parameters - - // Optional query parameters - -}; - -class GetConfigurationParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateConfigurationParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetNamedConfigurationParams { -public: - /** - * @brief Configuration key. - */ - QString key() const; - void setKey(QString newKey) const; - - -private: - // Required path parameters - QString m_key; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateNamedConfigurationParams { -public: - /** - * @brief Configuration key. - */ - QString key() const; - void setKey(QString newKey) const; - - -private: - // Required path parameters - QString m_key; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDefaultMetadataOptionsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateMediaEncoderPathParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDashboardConfigurationPageParams { -public: - /** - * @brief The name of the page. - */ - QString name() const; - void setName(QString newName) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_name; - -}; - -class GetConfigurationPagesParams { -public: - /** - * @brief The Jellyfin.Api.Models.ConfigurationPageInfo. - */ - ConfigurationPageType pageType() const; - void setPageType(ConfigurationPageType newPageType) const; - - /** - * @brief Whether to enable in the main menu. - */ - std::optional enableInMainMenu() const; - void setEnableInMainMenu(std::optional newEnableInMainMenu) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - ConfigurationPageType m_pageType; - std::optional m_enableInMainMenu = std::nullopt; - -}; - -class GetDevicesParams { -public: - /** - * @brief Gets or sets the user identifier. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Gets or sets a value indicating whether [supports synchronize]. - */ - std::optional supportsSync() const; - void setSupportsSync(std::optional newSupportsSync) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_supportsSync = std::nullopt; - -}; - -class DeleteDeviceParams { -public: - /** - * @brief Device Id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_jellyfinId; - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDeviceInfoParams { -public: - /** - * @brief Device Id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_jellyfinId; - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDeviceOptionsParams { -public: - /** - * @brief Device Id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_jellyfinId; - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateDeviceOptionsParams { -public: - /** - * @brief Device Id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_jellyfinId; - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDisplayPreferencesParams { -public: - /** - * @brief Display preferences id. - */ - QString displayPreferencesId() const; - void setDisplayPreferencesId(QString newDisplayPreferencesId) const; - - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Client. - */ - QString client() const; - void setClient(QString newClient) const; - - -private: - // Required path parameters - QString m_displayPreferencesId; - - // Required query parameters - QString m_userId; - QString m_client; - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateDisplayPreferencesParams { -public: - /** - * @brief Display preferences id. - */ - QString displayPreferencesId() const; - void setDisplayPreferencesId(QString newDisplayPreferencesId) const; - - /** - * @brief User Id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Client. - */ - QString client() const; - void setClient(QString newClient) const; - - -private: - // Required path parameters - QString m_displayPreferencesId; - - // Required query parameters - QString m_userId; - QString m_client; - - // Optional path parameters - - // Optional query parameters - -}; - -class GetProfileInfosParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class CreateProfileParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetProfileParams { -public: - /** - * @brief Profile Id. - */ - QString profileId() const; - void setProfileId(QString newProfileId) const; - - -private: - // Required path parameters - QString m_profileId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class DeleteProfileParams { -public: - /** - * @brief Profile id. - */ - QString profileId() const; - void setProfileId(QString newProfileId) const; - - -private: - // Required path parameters - QString m_profileId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateProfileParams { -public: - /** - * @brief Profile id. - */ - QString profileId() const; - void setProfileId(QString newProfileId) const; - - -private: - // Required path parameters - QString m_profileId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDefaultProfileParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetConnectionManagerParams { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetConnectionManager_2Params { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetConnectionManager_3Params { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class ProcessConnectionManagerControlRequestParams { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetContentDirectoryParams { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetContentDirectory_2Params { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetContentDirectory_3Params { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class ProcessContentDirectoryControlRequestParams { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDescriptionXmlParams { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDescriptionXml_2Params { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetIconIdParams { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - /** - * @brief The icon filename. - */ - QString fileName() const; - void setFileName(QString newFileName) const; - - -private: - // Required path parameters - QString m_serverId; - QString m_fileName; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetMediaReceiverRegistrarParams { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class ProcessMediaReceiverRegistrarControlRequestParams { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetMediaReceiverRegistrar_2Params { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetMediaReceiverRegistrar_3Params { -public: - /** - * @brief Server UUID. - */ - QString serverId() const; - void setServerId(QString newServerId) const; - - -private: - // Required path parameters - QString m_serverId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetIconParams { -public: - /** - * @brief The icon filename. - */ - QString fileName() const; - void setFileName(QString newFileName) const; - - -private: - // Required path parameters - QString m_fileName; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetHlsAudioSegmentParams { -public: - /** - * @brief The segment id. - */ - qint32 segmentId() const; - void setSegmentId(qint32 newSegmentId) const; - - /** - * @brief The playlist id. - */ - QString playlistId() const; - void setPlaylistId(QString newPlaylistId) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. The maximum streaming bitrate. - */ - std::optional maxStreamingBitrate() const; - void setMaxStreamingBitrate(std::optional newMaxStreamingBitrate) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - qint32 m_segmentId; - QString m_playlistId; - QString m_itemId; - QString m_container; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxStreamingBitrate = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class GetVariantHlsAudioPlaylistParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. The maximum streaming bitrate. - */ - std::optional maxStreamingBitrate() const; - void setMaxStreamingBitrate(std::optional newMaxStreamingBitrate) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxStreamingBitrate = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class GetMasterHlsAudioPlaylistParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. The maximum streaming bitrate. - */ - std::optional maxStreamingBitrate() const; - void setMaxStreamingBitrate(std::optional newMaxStreamingBitrate) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Enable adaptive bitrate streaming. - */ - bool enableAdaptiveBitrateStreaming() const; - void setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - QString m_mediaSourceId; - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxStreamingBitrate = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - bool m_enableAdaptiveBitrateStreaming; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class HeadMasterHlsAudioPlaylistParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. The maximum streaming bitrate. - */ - std::optional maxStreamingBitrate() const; - void setMaxStreamingBitrate(std::optional newMaxStreamingBitrate) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Enable adaptive bitrate streaming. - */ - bool enableAdaptiveBitrateStreaming() const; - void setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - QString m_mediaSourceId; - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxStreamingBitrate = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - bool m_enableAdaptiveBitrateStreaming; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class GetHlsVideoSegmentParams { -public: - /** - * @brief The segment id. - */ - qint32 segmentId() const; - void setSegmentId(qint32 newSegmentId) const; - - /** - * @brief The playlist id. - */ - QString playlistId() const; - void setPlaylistId(QString newPlaylistId) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment lenght. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - qint32 m_segmentId; - QString m_playlistId; - QString m_itemId; - QString m_container; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class GetVariantHlsVideoPlaylistParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class GetMasterHlsVideoPlaylistParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Enable adaptive bitrate streaming. - */ - bool enableAdaptiveBitrateStreaming() const; - void setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - QString m_mediaSourceId; - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - bool m_enableAdaptiveBitrateStreaming; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class HeadMasterHlsVideoPlaylistParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Enable adaptive bitrate streaming. - */ - bool enableAdaptiveBitrateStreaming() const; - void setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - QString m_mediaSourceId; - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - bool m_enableAdaptiveBitrateStreaming; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class GetDefaultDirectoryBrowserParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDirectoryContentsParams { -public: - /** - * @brief The path. - */ - QString path() const; - void setPath(QString newPath) const; - - /** - * @brief An optional filter to include or exclude files from the results. true/false. - */ - bool includeFiles() const; - void setIncludeFiles(bool newIncludeFiles) const; - - /** - * @brief An optional filter to include or exclude folders from the results. true/false. - */ - bool includeDirectories() const; - void setIncludeDirectories(bool newIncludeDirectories) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_path; - - // Optional path parameters - - // Optional query parameters - bool m_includeFiles; - bool m_includeDirectories; - -}; - -class GetDrivesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetNetworkSharesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetParentPathParams { -public: - /** - * @brief The path. - */ - QString path() const; - void setPath(QString newPath) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_path; - - // Optional path parameters - - // Optional query parameters - -}; - -class ValidatePathParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetQueryFiltersLegacyParams { -public: - /** - * @brief Optional. User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Parent id. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. Filter by MediaType. Allows multiple, comma delimited. - */ - QStringList mediaTypes() const; - void setMediaTypes(QStringList newMediaTypes) const; - - /** - * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - QString m_parentId; - QStringList m_mediaTypes; - QStringList m_includeItemTypes; - -}; - -class GetQueryFiltersParams { -public: - /** - * @brief Optional. User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Search recursive. - */ - std::optional recursive() const; - void setRecursive(std::optional newRecursive) const; - - /** - * @brief Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. Is item sports. - */ - std::optional isSports() const; - void setIsSports(std::optional newIsSports) const; - - /** - * @brief Optional. Is item series. - */ - std::optional isSeries() const; - void setIsSeries(std::optional newIsSeries) const; - - /** - * @brief Optional. Is item news. - */ - std::optional isNews() const; - void setIsNews(std::optional newIsNews) const; - - /** - * @brief Optional. Is item movie. - */ - std::optional isMovie() const; - void setIsMovie(std::optional newIsMovie) const; - - /** - * @brief Optional. Is item kids. - */ - std::optional isKids() const; - void setIsKids(std::optional newIsKids) const; - - /** - * @brief Optional. Is item airing. - */ - std::optional isAiring() const; - void setIsAiring(std::optional newIsAiring) const; - - /** - * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_recursive = std::nullopt; - QString m_parentId; - std::optional m_isSports = std::nullopt; - std::optional m_isSeries = std::nullopt; - std::optional m_isNews = std::nullopt; - std::optional m_isMovie = std::nullopt; - std::optional m_isKids = std::nullopt; - std::optional m_isAiring = std::nullopt; - QStringList m_includeItemTypes; - -}; - -class GetGenresParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief The search term. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional filter by items whose name is sorted equally or greater than a given input string. - */ - QString nameStartsWithOrGreater() const; - void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) const; - - /** - * @brief Optional filter by items whose name is sorted equally than a given input string. - */ - QString nameStartsWith() const; - void setNameStartsWith(QString newNameStartsWith) const; - - /** - * @brief Optional filter by items whose name is equally or lesser than a given input string. - */ - QString nameLessThan() const; - void setNameLessThan(QString newNameLessThan) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional filter by items that are marked as favorite, or not. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - /** - * @brief Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional, the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - /** - * @brief Optional. Include total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional, include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_startIndex = std::nullopt; - QString m_searchTerm; - QString m_parentId; - QString m_nameStartsWithOrGreater; - QString m_nameStartsWith; - QString m_nameLessThan; - std::optional m_limit = std::nullopt; - std::optional m_isFavorite = std::nullopt; - QStringList m_includeItemTypes; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - QStringList m_excludeItemTypes; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetGenreParams { -public: - /** - * @brief The genre name. - */ - QString genreName() const; - void setGenreName(QString newGenreName) const; - - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_genreName; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class GetHlsAudioSegmentLegacyAacParams { -public: - /** - * @brief The segment id. - */ - QString segmentId() const; - void setSegmentId(QString newSegmentId) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_segmentId; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetHlsAudioSegmentLegacyMp3Params { -public: - /** - * @brief The segment id. - */ - QString segmentId() const; - void setSegmentId(QString newSegmentId) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_segmentId; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetHlsVideoSegmentLegacyParams { -public: - /** - * @brief The segment id. - */ - QString segmentId() const; - void setSegmentId(QString newSegmentId) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief The playlist id. - */ - QString playlistId() const; - void setPlaylistId(QString newPlaylistId) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_segmentId; - QString m_segmentContainer; - QString m_playlistId; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetHlsPlaylistLegacyParams { -public: - /** - * @brief The playlist id. - */ - QString playlistId() const; - void setPlaylistId(QString newPlaylistId) const; - - /** - * @brief The video id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_playlistId; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class StopEncodingProcessParams { -public: - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_playSessionId; - QString m_deviceId; - -}; - -class GetArtistImageParams { -public: - /** - * @brief Artist name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadArtistImageParams { -public: - /** - * @brief Artist name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class GetGenreImageParams { -public: - /** - * @brief Genre name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadGenreImageParams { -public: - /** - * @brief Genre name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class GetGenreImageByIndexParams { -public: - /** - * @brief Genre name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadGenreImageByIndexParams { -public: - /** - * @brief Genre name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class GetItemImageInfosParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class DeleteItemImageParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - -private: - // Required path parameters - QString m_itemId; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_imageIndex = std::nullopt; - -}; - -class SetItemImageParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - -private: - // Required path parameters - QString m_itemId; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetItemImageParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_itemId; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadItemImageParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_itemId; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class DeleteItemImageByIndexParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - -private: - // Required path parameters - QString m_itemId; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SetItemImageByIndexParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief (Unused) Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - -private: - // Required path parameters - QString m_itemId; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetItemImageByIndexParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_itemId; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadItemImageByIndexParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_itemId; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class GetItemImage2Params { -public: - /** - * @brief Optional. Unplayed count overlay to render. - */ - qint32 unplayedCount() const; - void setUnplayedCount(qint32 newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - double percentPlayed() const; - void setPercentPlayed(double newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - qint32 maxWidth() const; - void setMaxWidth(qint32 newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - qint32 maxHeight() const; - void setMaxHeight(qint32 newMaxHeight) const; - - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - qint32 m_unplayedCount; - QString m_tag; - double m_percentPlayed; - qint32 m_maxWidth; - qint32 m_maxHeight; - QString m_itemId; - ImageType m_imageType; - qint32 m_imageIndex; - ImageFormat m_format; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_quality = std::nullopt; - std::optional m_height = std::nullopt; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadItemImage2Params { -public: - /** - * @brief Optional. Unplayed count overlay to render. - */ - qint32 unplayedCount() const; - void setUnplayedCount(qint32 newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - double percentPlayed() const; - void setPercentPlayed(double newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - qint32 maxWidth() const; - void setMaxWidth(qint32 newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - qint32 maxHeight() const; - void setMaxHeight(qint32 newMaxHeight) const; - - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - qint32 m_unplayedCount; - QString m_tag; - double m_percentPlayed; - qint32 m_maxWidth; - qint32 m_maxHeight; - QString m_itemId; - ImageType m_imageType; - qint32 m_imageIndex; - ImageFormat m_format; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_quality = std::nullopt; - std::optional m_height = std::nullopt; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class UpdateItemImageIndexParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Old image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief New image index. - */ - qint32 newIndex() const; - void setNewIndex(qint32 newNewIndex) const; - - -private: - // Required path parameters - QString m_itemId; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - qint32 m_newIndex; - -}; - -class GetMusicGenreImageParams { -public: - /** - * @brief Music genre name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadMusicGenreImageParams { -public: - /** - * @brief Music genre name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class GetMusicGenreImageByIndexParams { -public: - /** - * @brief Music genre name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadMusicGenreImageByIndexParams { -public: - /** - * @brief Music genre name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class GetPersonImageParams { -public: - /** - * @brief Person name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadPersonImageParams { -public: - /** - * @brief Person name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class GetPersonImageByIndexParams { -public: - /** - * @brief Person name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadPersonImageByIndexParams { -public: - /** - * @brief Person name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class GetStudioImageParams { -public: - /** - * @brief Studio name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadStudioImageParams { -public: - /** - * @brief Studio name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class GetStudioImageByIndexParams { -public: - /** - * @brief Studio name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadStudioImageByIndexParams { -public: - /** - * @brief Studio name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_name; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class PostUserImageParams { -public: - /** - * @brief User Id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief (Unused) Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief (Unused) Image index. - */ - std::optional index() const; - void setIndex(std::optional newIndex) const; - - -private: - // Required path parameters - QString m_userId; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_index = std::nullopt; - -}; - -class DeleteUserImageParams { -public: - /** - * @brief User Id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief (Unused) Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief (Unused) Image index. - */ - std::optional index() const; - void setIndex(std::optional newIndex) const; - - -private: - // Required path parameters - QString m_userId; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_index = std::nullopt; - -}; - -class GetUserImageParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_userId; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadUserImageParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Image index. - */ - std::optional imageIndex() const; - void setImageIndex(std::optional newImageIndex) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_userId; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_imageIndex = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class GetUserImageByIndexParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_userId; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class HeadUserImageByIndexParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - /** - * @brief Image index. - */ - qint32 imageIndex() const; - void setImageIndex(qint32 newImageIndex) const; - - /** - * @brief The fixed image width to return. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. Unplayed count overlay to render. - */ - std::optional unplayedCount() const; - void setUnplayedCount(std::optional newUnplayedCount) const; - - /** - * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. - */ - std::optional quality() const; - void setQuality(std::optional newQuality) const; - - /** - * @brief Optional. Percent to render for the percent played overlay. - */ - std::optional percentPlayed() const; - void setPercentPlayed(std::optional newPercentPlayed) const; - - /** - * @brief The maximum image width to return. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief The maximum image height to return. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief The fixed image height to return. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Determines the output format of the image - original,gif,jpg,png. - */ - ImageFormat format() const; - void setFormat(ImageFormat newFormat) const; - - /** - * @brief Optional. Apply a foreground layer on top of the image. - */ - QString foregroundLayer() const; - void setForegroundLayer(QString newForegroundLayer) const; - - /** - * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - */ - std::optional cropWhitespace() const; - void setCropWhitespace(std::optional newCropWhitespace) const; - - /** - * @brief Optional. Blur image. - */ - std::optional blur() const; - void setBlur(std::optional newBlur) const; - - /** - * @brief Optional. Apply a background color for transparent images. - */ - QString backgroundColor() const; - void setBackgroundColor(QString newBackgroundColor) const; - - /** - * @brief Optional. Add a played indicator. - */ - std::optional addPlayedIndicator() const; - void setAddPlayedIndicator(std::optional newAddPlayedIndicator) const; - - -private: - // Required path parameters - QString m_userId; - ImageType m_imageType; - qint32 m_imageIndex; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_unplayedCount = std::nullopt; - QString m_tag; - std::optional m_quality = std::nullopt; - std::optional m_percentPlayed = std::nullopt; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_height = std::nullopt; - ImageFormat m_format; - QString m_foregroundLayer; - std::optional m_cropWhitespace = std::nullopt; - std::optional m_blur = std::nullopt; - QString m_backgroundColor; - std::optional m_addPlayedIndicator = std::nullopt; - -}; - -class PostUserImageByIndexParams { -public: - /** - * @brief User Id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief (Unused) Image index. - */ - qint32 index() const; - void setIndex(qint32 newIndex) const; - - /** - * @brief (Unused) Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - -private: - // Required path parameters - QString m_userId; - qint32 m_index; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class DeleteUserImageByIndexParams { -public: - /** - * @brief User Id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief (Unused) Image index. - */ - qint32 index() const; - void setIndex(qint32 newIndex) const; - - /** - * @brief (Unused) Image type. - */ - ImageType imageType() const; - void setImageType(ImageType newImageType) const; - - -private: - // Required path parameters - QString m_userId; - qint32 m_index; - ImageType m_imageType; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetGeneralImagesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetGeneralImageParams { -public: - /** - * @brief Image Type (primary, backdrop, logo, etc). - */ - QString type() const; - void setType(QString newType) const; - - /** - * @brief The name of the image. - */ - QString name() const; - void setName(QString newName) const; - - -private: - // Required path parameters - QString m_type; - QString m_name; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetMediaInfoImagesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetMediaInfoImageParams { -public: - /** - * @brief The theme to get the image from. - */ - QString theme() const; - void setTheme(QString newTheme) const; - - /** - * @brief The name of the image. - */ - QString name() const; - void setName(QString newName) const; - - -private: - // Required path parameters - QString m_theme; - QString m_name; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetRatingImagesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetRatingImageParams { -public: - /** - * @brief The theme to get the image from. - */ - QString theme() const; - void setTheme(QString newTheme) const; - - /** - * @brief The name of the image. - */ - QString name() const; - void setName(QString newName) const; - - -private: - // Required path parameters - QString m_theme; - QString m_name; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetInstantMixFromAlbumParams { -public: - /** - * @brief The item id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - QString m_jellyfinId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetInstantMixFromArtistsParams { -public: - /** - * @brief The item id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - QString m_jellyfinId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetInstantMixFromItemParams { -public: - /** - * @brief The item id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - QString m_jellyfinId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetInstantMixFromMusicGenresParams { -public: - /** - * @brief The item id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - QString m_jellyfinId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetInstantMixFromMusicGenreParams { -public: - /** - * @brief The genre name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - QString m_name; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetInstantMixFromPlaylistParams { -public: - /** - * @brief The item id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - QString m_jellyfinId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetInstantMixFromSongParams { -public: - /** - * @brief The item id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - QString m_jellyfinId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetExternalIdInfosParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class ApplySearchCriteriaParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Whether or not to replace all images. Default: True. - */ - bool replaceAllImages() const; - void setReplaceAllImages(bool newReplaceAllImages) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - bool m_replaceAllImages; - -}; - -class GetBookRemoteSearchResultsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetBoxSetRemoteSearchResultsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetRemoteSearchImageParams { -public: - /** - * @brief The provider name. - */ - QString providerName() const; - void setProviderName(QString newProviderName) const; - - /** - * @brief The image url. - */ - QString imageUrl() const; - void setImageUrl(QString newImageUrl) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_providerName; - QString m_imageUrl; - - // Optional path parameters - - // Optional query parameters - -}; - -class GetMovieRemoteSearchResultsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetMusicAlbumRemoteSearchResultsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetMusicArtistRemoteSearchResultsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetMusicVideoRemoteSearchResultsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPersonRemoteSearchResultsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetSeriesRemoteSearchResultsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetTrailerRemoteSearchResultsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class PostParams { -public: - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh. - */ - bool replaceAllMetadata() const; - void setReplaceAllMetadata(bool newReplaceAllMetadata) const; - - /** - * @brief (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh. - */ - bool replaceAllImages() const; - void setReplaceAllImages(bool newReplaceAllImages) const; - - /** - * @brief (Optional) Specifies the metadata refresh mode. - */ - MetadataRefreshMode metadataRefreshMode() const; - void setMetadataRefreshMode(MetadataRefreshMode newMetadataRefreshMode) const; - - /** - * @brief (Optional) Specifies the image refresh mode. - */ - MetadataRefreshMode imageRefreshMode() const; - void setImageRefreshMode(MetadataRefreshMode newImageRefreshMode) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - bool m_replaceAllMetadata; - bool m_replaceAllImages; - MetadataRefreshMode m_metadataRefreshMode; - MetadataRefreshMode m_imageRefreshMode; - -}; - -class GetItemsParams { -public: - /** - * @brief Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. - */ - QList years() const; - void setYears(QList newYears) const; - - /** - * @brief Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. - */ - QList videoTypes() const; - void setVideoTypes(QList newVideoTypes) const; - - /** - * @brief The user id supplied as query parameter. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. - */ - QStringList tags() const; - void setTags(QStringList newTags) const; - - /** - * @brief Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. - */ - QStringList studios() const; - void setStudios(QStringList newStudios) const; - - /** - * @brief Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. - */ - QStringList studioIds() const; - void setStudioIds(QStringList newStudioIds) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Sort Order - Ascending,Descending. - */ - QString sortOrder() const; - void setSortOrder(QString newSortOrder) const; - - /** - * @brief Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - */ - QString sortBy() const; - void setSortBy(QString newSortBy) const; - - /** - * @brief Optional filter by Series Status. Allows multiple, comma delimited. - */ - QList seriesStatus() const; - void setSeriesStatus(QList newSeriesStatus) const; - - /** - * @brief Optional. Filter based on a search term. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief When searching within folders, this determines whether or not the search will be recursive. true/false. - */ - std::optional recursive() const; - void setRecursive(std::optional newRecursive) const; - - /** - * @brief Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. - */ - QStringList personTypes() const; - void setPersonTypes(QStringList newPersonTypes) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified person id. - */ - QStringList personIds() const; - void setPersonIds(QStringList newPersonIds) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified person. - */ - QString person() const; - void setPerson(QString newPerson) const; - - /** - * @brief Optional filter by parent index number. - */ - std::optional parentIndexNumber() const; - void setParentIndexNumber(std::optional newParentIndexNumber) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. - */ - QStringList officialRatings() const; - void setOfficialRatings(QStringList newOfficialRatings) const; - - /** - * @brief Optional filter by items whose name is sorted equally or greater than a given input string. - */ - QString nameStartsWithOrGreater() const; - void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) const; - - /** - * @brief Optional filter by items whose name is sorted equally than a given input string. - */ - QString nameStartsWith() const; - void setNameStartsWith(QString newNameStartsWith) const; - - /** - * @brief Optional filter by items whose name is equally or lesser than a given input string. - */ - QString nameLessThan() const; - void setNameLessThan(QString newNameLessThan) const; - - /** - * @brief Optional. Filter by the minimum width of the item. - */ - std::optional minWidth() const; - void setMinWidth(std::optional newMinWidth) const; - - /** - * @brief Optional. The minimum premiere date. Format = ISO. - */ - QDateTime minPremiereDate() const; - void setMinPremiereDate(QDateTime newMinPremiereDate) const; - - /** - * @brief Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). - */ - QString minOfficialRating() const; - void setMinOfficialRating(QString newMinOfficialRating) const; - - /** - * @brief Optional. Filter by the minimum height of the item. - */ - std::optional minHeight() const; - void setMinHeight(std::optional newMinHeight) const; - - /** - * @brief Optional. The minimum last saved date for the current user. Format = ISO. - */ - QDateTime minDateLastSavedForUser() const; - void setMinDateLastSavedForUser(QDateTime newMinDateLastSavedForUser) const; - - /** - * @brief Optional. The minimum last saved date. Format = ISO. - */ - QDateTime minDateLastSaved() const; - void setMinDateLastSaved(QDateTime newMinDateLastSaved) const; - - /** - * @brief Optional filter by minimum critic rating. - */ - std::optional minCriticRating() const; - void setMinCriticRating(std::optional newMinCriticRating) const; - - /** - * @brief Optional filter by minimum community rating. - */ - std::optional minCommunityRating() const; - void setMinCommunityRating(std::optional newMinCommunityRating) const; - - /** - * @brief Optional filter by MediaType. Allows multiple, comma delimited. - */ - QStringList mediaTypes() const; - void setMediaTypes(QStringList newMediaTypes) const; - - /** - * @brief Optional. Filter by the maximum width of the item. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief Optional. The maximum premiere date. Format = ISO. - */ - QDateTime maxPremiereDate() const; - void setMaxPremiereDate(QDateTime newMaxPremiereDate) const; - - /** - * @brief Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). - */ - QString maxOfficialRating() const; - void setMaxOfficialRating(QString newMaxOfficialRating) const; - - /** - * @brief Optional. Filter by the maximum height of the item. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. - */ - QList locationTypes() const; - void setLocationTypes(QList newLocationTypes) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional filter by items that are unaired episodes or not. - */ - std::optional isUnaired() const; - void setIsUnaired(std::optional newIsUnaired) const; - - /** - * @brief Optional filter by items that are played, or not. - */ - std::optional isPlayed() const; - void setIsPlayed(std::optional newIsPlayed) const; - - /** - * @brief Optional filter by items that are placeholders. - */ - std::optional isPlaceHolder() const; - void setIsPlaceHolder(std::optional newIsPlaceHolder) const; - - /** - * @brief Optional filter by items that are missing episodes or not. - */ - std::optional isMissing() const; - void setIsMissing(std::optional newIsMissing) const; - - /** - * @brief Optional filter by items that are locked. - */ - std::optional isLocked() const; - void setIsLocked(std::optional newIsLocked) const; - - /** - * @brief Optional filter by items that are HD or not. - */ - std::optional isHd() const; - void setIsHd(std::optional newIsHd) const; - - /** - * @brief Optional filter by items that are marked as favorite, or not. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - /** - * @brief Optional filter by items that are 4K or not. - */ - std::optional is4K() const; - void setIs4K(std::optional newIs4K) const; - - /** - * @brief Optional filter by items that are 3D, or not. - */ - std::optional is3D() const; - void setIs3D(std::optional newIs3D) const; - - /** - * @brief Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - */ - QList imageTypes() const; - void setImageTypes(QList newImageTypes) const; - - /** - * @brief Optional, the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. - */ - QStringList ids() const; - void setIds(QStringList newIds) const; - - /** - * @brief Optional filter by items that have a tvdb id or not. - */ - std::optional hasTvdbId() const; - void setHasTvdbId(std::optional newHasTvdbId) const; - - /** - * @brief Optional filter by items with trailers. - */ - std::optional hasTrailer() const; - void setHasTrailer(std::optional newHasTrailer) const; - - /** - * @brief Optional filter by items that have a tmdb id or not. - */ - std::optional hasTmdbId() const; - void setHasTmdbId(std::optional newHasTmdbId) const; - - /** - * @brief Optional filter by items with theme videos. - */ - std::optional hasThemeVideo() const; - void setHasThemeVideo(std::optional newHasThemeVideo) const; - - /** - * @brief Optional filter by items with theme songs. - */ - std::optional hasThemeSong() const; - void setHasThemeSong(std::optional newHasThemeSong) const; - - /** - * @brief Optional filter by items with subtitles. - */ - std::optional hasSubtitles() const; - void setHasSubtitles(std::optional newHasSubtitles) const; - - /** - * @brief Optional filter by items with special features. - */ - std::optional hasSpecialFeature() const; - void setHasSpecialFeature(std::optional newHasSpecialFeature) const; - - /** - * @brief Optional filter by items that have or do not have a parental rating. - */ - std::optional hasParentalRating() const; - void setHasParentalRating(std::optional newHasParentalRating) const; - - /** - * @brief Optional filter by items that have an overview or not. - */ - std::optional hasOverview() const; - void setHasOverview(std::optional newHasOverview) const; - - /** - * @brief Optional filter by items that have official ratings. - */ - std::optional hasOfficialRating() const; - void setHasOfficialRating(std::optional newHasOfficialRating) const; - - /** - * @brief Optional filter by items that have an imdb id or not. - */ - std::optional hasImdbId() const; - void setHasImdbId(std::optional newHasImdbId) const; - - /** - * @brief Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. - */ - QStringList genres() const; - void setGenres(QStringList newGenres) const; - - /** - * @brief Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. - */ - QStringList genreIds() const; - void setGenreIds(QStringList newGenreIds) const; - - /** - * @brief Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. - */ - QList filters() const; - void setFilters(QList newFilters) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. - */ - QList excludeLocationTypes() const; - void setExcludeLocationTypes(QList newExcludeLocationTypes) const; - - /** - * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - /** - * @brief Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. - */ - QStringList excludeItemIds() const; - void setExcludeItemIds(QStringList newExcludeItemIds) const; - - /** - * @brief Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. - */ - QStringList excludeArtistIds() const; - void setExcludeArtistIds(QStringList newExcludeArtistIds) const; - - /** - * @brief Optional, include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Enable the total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional, include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. - */ - QStringList contributingArtistIds() const; - void setContributingArtistIds(QStringList newContributingArtistIds) const; - - /** - * @brief Whether or not to hide items behind their boxsets. - */ - std::optional collapseBoxSetItems() const; - void setCollapseBoxSetItems(std::optional newCollapseBoxSetItems) const; - - /** - * @brief Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. - */ - QStringList artists() const; - void setArtists(QStringList newArtists) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified artist id. - */ - QStringList artistIds() const; - void setArtistIds(QStringList newArtistIds) const; - - /** - * @brief Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. - */ - QStringList albums() const; - void setAlbums(QStringList newAlbums) const; - - /** - * @brief Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. - */ - QStringList albumIds() const; - void setAlbumIds(QStringList newAlbumIds) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified album artist id. - */ - QStringList albumArtistIds() const; - void setAlbumArtistIds(QStringList newAlbumArtistIds) const; - - /** - * @brief Optional. Return items that are siblings of a supplied item. - */ - QString adjacentTo() const; - void setAdjacentTo(QString newAdjacentTo) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QList m_years; - QList m_videoTypes; - QString m_userId; - QStringList m_tags; - QStringList m_studios; - QStringList m_studioIds; - std::optional m_startIndex = std::nullopt; - QString m_sortOrder; - QString m_sortBy; - QList m_seriesStatus; - QString m_searchTerm; - std::optional m_recursive = std::nullopt; - QStringList m_personTypes; - QStringList m_personIds; - QString m_person; - std::optional m_parentIndexNumber = std::nullopt; - QString m_parentId; - QStringList m_officialRatings; - QString m_nameStartsWithOrGreater; - QString m_nameStartsWith; - QString m_nameLessThan; - std::optional m_minWidth = std::nullopt; - QDateTime m_minPremiereDate; - QString m_minOfficialRating; - std::optional m_minHeight = std::nullopt; - QDateTime m_minDateLastSavedForUser; - QDateTime m_minDateLastSaved; - std::optional m_minCriticRating = std::nullopt; - std::optional m_minCommunityRating = std::nullopt; - QStringList m_mediaTypes; - std::optional m_maxWidth = std::nullopt; - QDateTime m_maxPremiereDate; - QString m_maxOfficialRating; - std::optional m_maxHeight = std::nullopt; - QList m_locationTypes; - std::optional m_limit = std::nullopt; - std::optional m_isUnaired = std::nullopt; - std::optional m_isPlayed = std::nullopt; - std::optional m_isPlaceHolder = std::nullopt; - std::optional m_isMissing = std::nullopt; - std::optional m_isLocked = std::nullopt; - std::optional m_isHd = std::nullopt; - std::optional m_isFavorite = std::nullopt; - std::optional m_is4K = std::nullopt; - std::optional m_is3D = std::nullopt; - QStringList m_includeItemTypes; - QList m_imageTypes; - std::optional m_imageTypeLimit = std::nullopt; - QStringList m_ids; - std::optional m_hasTvdbId = std::nullopt; - std::optional m_hasTrailer = std::nullopt; - std::optional m_hasTmdbId = std::nullopt; - std::optional m_hasThemeVideo = std::nullopt; - std::optional m_hasThemeSong = std::nullopt; - std::optional m_hasSubtitles = std::nullopt; - std::optional m_hasSpecialFeature = std::nullopt; - std::optional m_hasParentalRating = std::nullopt; - std::optional m_hasOverview = std::nullopt; - std::optional m_hasOfficialRating = std::nullopt; - std::optional m_hasImdbId = std::nullopt; - QStringList m_genres; - QStringList m_genreIds; - QList m_filters; - QList m_fields; - QList m_excludeLocationTypes; - QStringList m_excludeItemTypes; - QStringList m_excludeItemIds; - QStringList m_excludeArtistIds; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - QStringList m_contributingArtistIds; - std::optional m_collapseBoxSetItems = std::nullopt; - QStringList m_artists; - QStringList m_artistIds; - QStringList m_albums; - QStringList m_albumIds; - QStringList m_albumArtistIds; - QString m_adjacentTo; - -}; - -class DeleteItemsParams { -public: - /** - * @brief The item ids. - */ - QStringList ids() const; - void setIds(QStringList newIds) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QStringList m_ids; - -}; - -class GetItemsByUserIdParams { -public: - /** - * @brief The user id supplied as query parameter. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimeted. - */ - QList years() const; - void setYears(QList newYears) const; - - /** - * @brief Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimeted. - */ - QList videoTypes() const; - void setVideoTypes(QList newVideoTypes) const; - - /** - * @brief Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimeted. - */ - QStringList tags() const; - void setTags(QStringList newTags) const; - - /** - * @brief Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimeted. - */ - QStringList studios() const; - void setStudios(QStringList newStudios) const; - - /** - * @brief Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimeted. - */ - QStringList studioIds() const; - void setStudioIds(QStringList newStudioIds) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Sort Order - Ascending,Descending. - */ - QString sortOrder() const; - void setSortOrder(QString newSortOrder) const; - - /** - * @brief Optional. Specify one or more sort orders, comma delimeted. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - */ - QString sortBy() const; - void setSortBy(QString newSortBy) const; - - /** - * @brief Optional filter by Series Status. Allows multiple, comma delimeted. - */ - QList seriesStatus() const; - void setSeriesStatus(QList newSeriesStatus) const; - - /** - * @brief Optional. Filter based on a search term. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief When searching within folders, this determines whether or not the search will be recursive. true/false. - */ - std::optional recursive() const; - void setRecursive(std::optional newRecursive) const; - - /** - * @brief Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. - */ - QStringList personTypes() const; - void setPersonTypes(QStringList newPersonTypes) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified person id. - */ - QStringList personIds() const; - void setPersonIds(QStringList newPersonIds) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified person. - */ - QString person() const; - void setPerson(QString newPerson) const; - - /** - * @brief Optional filter by parent index number. - */ - std::optional parentIndexNumber() const; - void setParentIndexNumber(std::optional newParentIndexNumber) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimeted. - */ - QStringList officialRatings() const; - void setOfficialRatings(QStringList newOfficialRatings) const; - - /** - * @brief Optional filter by items whose name is sorted equally or greater than a given input string. - */ - QString nameStartsWithOrGreater() const; - void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) const; - - /** - * @brief Optional filter by items whose name is sorted equally than a given input string. - */ - QString nameStartsWith() const; - void setNameStartsWith(QString newNameStartsWith) const; - - /** - * @brief Optional filter by items whose name is equally or lesser than a given input string. - */ - QString nameLessThan() const; - void setNameLessThan(QString newNameLessThan) const; - - /** - * @brief Optional. Filter by the minimum width of the item. - */ - std::optional minWidth() const; - void setMinWidth(std::optional newMinWidth) const; - - /** - * @brief Optional. The minimum premiere date. Format = ISO. - */ - QDateTime minPremiereDate() const; - void setMinPremiereDate(QDateTime newMinPremiereDate) const; - - /** - * @brief Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). - */ - QString minOfficialRating() const; - void setMinOfficialRating(QString newMinOfficialRating) const; - - /** - * @brief Optional. Filter by the minimum height of the item. - */ - std::optional minHeight() const; - void setMinHeight(std::optional newMinHeight) const; - - /** - * @brief Optional. The minimum last saved date for the current user. Format = ISO. - */ - QDateTime minDateLastSavedForUser() const; - void setMinDateLastSavedForUser(QDateTime newMinDateLastSavedForUser) const; - - /** - * @brief Optional. The minimum last saved date. Format = ISO. - */ - QDateTime minDateLastSaved() const; - void setMinDateLastSaved(QDateTime newMinDateLastSaved) const; - - /** - * @brief Optional filter by minimum critic rating. - */ - std::optional minCriticRating() const; - void setMinCriticRating(std::optional newMinCriticRating) const; - - /** - * @brief Optional filter by minimum community rating. - */ - std::optional minCommunityRating() const; - void setMinCommunityRating(std::optional newMinCommunityRating) const; - - /** - * @brief Optional filter by MediaType. Allows multiple, comma delimited. - */ - QStringList mediaTypes() const; - void setMediaTypes(QStringList newMediaTypes) const; - - /** - * @brief Optional. Filter by the maximum width of the item. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief Optional. The maximum premiere date. Format = ISO. - */ - QDateTime maxPremiereDate() const; - void setMaxPremiereDate(QDateTime newMaxPremiereDate) const; - - /** - * @brief Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). - */ - QString maxOfficialRating() const; - void setMaxOfficialRating(QString newMaxOfficialRating) const; - - /** - * @brief Optional. Filter by the maximum height of the item. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimeted. - */ - QList locationTypes() const; - void setLocationTypes(QList newLocationTypes) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional filter by items that are unaired episodes or not. - */ - std::optional isUnaired() const; - void setIsUnaired(std::optional newIsUnaired) const; - - /** - * @brief Optional filter by items that are played, or not. - */ - std::optional isPlayed() const; - void setIsPlayed(std::optional newIsPlayed) const; - - /** - * @brief Optional filter by items that are placeholders. - */ - std::optional isPlaceHolder() const; - void setIsPlaceHolder(std::optional newIsPlaceHolder) const; - - /** - * @brief Optional filter by items that are missing episodes or not. - */ - std::optional isMissing() const; - void setIsMissing(std::optional newIsMissing) const; - - /** - * @brief Optional filter by items that are locked. - */ - std::optional isLocked() const; - void setIsLocked(std::optional newIsLocked) const; - - /** - * @brief Optional filter by items that are HD or not. - */ - std::optional isHd() const; - void setIsHd(std::optional newIsHd) const; - - /** - * @brief Optional filter by items that are marked as favorite, or not. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - /** - * @brief Optional filter by items that are 4K or not. - */ - std::optional is4K() const; - void setIs4K(std::optional newIs4K) const; - - /** - * @brief Optional filter by items that are 3D, or not. - */ - std::optional is3D() const; - void setIs3D(std::optional newIs3D) const; - - /** - * @brief Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimeted. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - */ - QList imageTypes() const; - void setImageTypes(QList newImageTypes) const; - - /** - * @brief Optional, the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. - */ - QStringList ids() const; - void setIds(QStringList newIds) const; - - /** - * @brief Optional filter by items that have a tvdb id or not. - */ - std::optional hasTvdbId() const; - void setHasTvdbId(std::optional newHasTvdbId) const; - - /** - * @brief Optional filter by items with trailers. - */ - std::optional hasTrailer() const; - void setHasTrailer(std::optional newHasTrailer) const; - - /** - * @brief Optional filter by items that have a tmdb id or not. - */ - std::optional hasTmdbId() const; - void setHasTmdbId(std::optional newHasTmdbId) const; - - /** - * @brief Optional filter by items with theme videos. - */ - std::optional hasThemeVideo() const; - void setHasThemeVideo(std::optional newHasThemeVideo) const; - - /** - * @brief Optional filter by items with theme songs. - */ - std::optional hasThemeSong() const; - void setHasThemeSong(std::optional newHasThemeSong) const; - - /** - * @brief Optional filter by items with subtitles. - */ - std::optional hasSubtitles() const; - void setHasSubtitles(std::optional newHasSubtitles) const; - - /** - * @brief Optional filter by items with special features. - */ - std::optional hasSpecialFeature() const; - void setHasSpecialFeature(std::optional newHasSpecialFeature) const; - - /** - * @brief Optional filter by items that have or do not have a parental rating. - */ - std::optional hasParentalRating() const; - void setHasParentalRating(std::optional newHasParentalRating) const; - - /** - * @brief Optional filter by items that have an overview or not. - */ - std::optional hasOverview() const; - void setHasOverview(std::optional newHasOverview) const; - - /** - * @brief Optional filter by items that have official ratings. - */ - std::optional hasOfficialRating() const; - void setHasOfficialRating(std::optional newHasOfficialRating) const; - - /** - * @brief Optional filter by items that have an imdb id or not. - */ - std::optional hasImdbId() const; - void setHasImdbId(std::optional newHasImdbId) const; - - /** - * @brief Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimeted. - */ - QStringList genres() const; - void setGenres(QStringList newGenres) const; - - /** - * @brief Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimeted. - */ - QStringList genreIds() const; - void setGenreIds(QStringList newGenreIds) const; - - /** - * @brief Optional. Specify additional filters to apply. This allows multiple, comma delimeted. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. - */ - QList filters() const; - void setFilters(QList newFilters) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimeted. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimeted. - */ - QList excludeLocationTypes() const; - void setExcludeLocationTypes(QList newExcludeLocationTypes) const; - - /** - * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimeted. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - /** - * @brief Optional. If specified, results will be filtered by exxcluding item ids. This allows multiple, comma delimeted. - */ - QStringList excludeItemIds() const; - void setExcludeItemIds(QStringList newExcludeItemIds) const; - - /** - * @brief Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimeted. - */ - QStringList excludeArtistIds() const; - void setExcludeArtistIds(QStringList newExcludeArtistIds) const; - - /** - * @brief Optional, include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Enable the total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional, include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. - */ - QStringList contributingArtistIds() const; - void setContributingArtistIds(QStringList newContributingArtistIds) const; - - /** - * @brief Whether or not to hide items behind their boxsets. - */ - std::optional collapseBoxSetItems() const; - void setCollapseBoxSetItems(std::optional newCollapseBoxSetItems) const; - - /** - * @brief Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimeted. - */ - QStringList artists() const; - void setArtists(QStringList newArtists) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified artist id. - */ - QStringList artistIds() const; - void setArtistIds(QStringList newArtistIds) const; - - /** - * @brief Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimeted. - */ - QStringList albums() const; - void setAlbums(QStringList newAlbums) const; - - /** - * @brief Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimeted. - */ - QStringList albumIds() const; - void setAlbumIds(QStringList newAlbumIds) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified album artist id. - */ - QStringList albumArtistIds() const; - void setAlbumArtistIds(QStringList newAlbumArtistIds) const; - - /** - * @brief Optional. Return items that are siblings of a supplied item. - */ - QString adjacentTo() const; - void setAdjacentTo(QString newAdjacentTo) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QList m_years; - QList m_videoTypes; - QStringList m_tags; - QStringList m_studios; - QStringList m_studioIds; - std::optional m_startIndex = std::nullopt; - QString m_sortOrder; - QString m_sortBy; - QList m_seriesStatus; - QString m_searchTerm; - std::optional m_recursive = std::nullopt; - QStringList m_personTypes; - QStringList m_personIds; - QString m_person; - std::optional m_parentIndexNumber = std::nullopt; - QString m_parentId; - QStringList m_officialRatings; - QString m_nameStartsWithOrGreater; - QString m_nameStartsWith; - QString m_nameLessThan; - std::optional m_minWidth = std::nullopt; - QDateTime m_minPremiereDate; - QString m_minOfficialRating; - std::optional m_minHeight = std::nullopt; - QDateTime m_minDateLastSavedForUser; - QDateTime m_minDateLastSaved; - std::optional m_minCriticRating = std::nullopt; - std::optional m_minCommunityRating = std::nullopt; - QStringList m_mediaTypes; - std::optional m_maxWidth = std::nullopt; - QDateTime m_maxPremiereDate; - QString m_maxOfficialRating; - std::optional m_maxHeight = std::nullopt; - QList m_locationTypes; - std::optional m_limit = std::nullopt; - std::optional m_isUnaired = std::nullopt; - std::optional m_isPlayed = std::nullopt; - std::optional m_isPlaceHolder = std::nullopt; - std::optional m_isMissing = std::nullopt; - std::optional m_isLocked = std::nullopt; - std::optional m_isHd = std::nullopt; - std::optional m_isFavorite = std::nullopt; - std::optional m_is4K = std::nullopt; - std::optional m_is3D = std::nullopt; - QStringList m_includeItemTypes; - QList m_imageTypes; - std::optional m_imageTypeLimit = std::nullopt; - QStringList m_ids; - std::optional m_hasTvdbId = std::nullopt; - std::optional m_hasTrailer = std::nullopt; - std::optional m_hasTmdbId = std::nullopt; - std::optional m_hasThemeVideo = std::nullopt; - std::optional m_hasThemeSong = std::nullopt; - std::optional m_hasSubtitles = std::nullopt; - std::optional m_hasSpecialFeature = std::nullopt; - std::optional m_hasParentalRating = std::nullopt; - std::optional m_hasOverview = std::nullopt; - std::optional m_hasOfficialRating = std::nullopt; - std::optional m_hasImdbId = std::nullopt; - QStringList m_genres; - QStringList m_genreIds; - QList m_filters; - QList m_fields; - QList m_excludeLocationTypes; - QStringList m_excludeItemTypes; - QStringList m_excludeItemIds; - QStringList m_excludeArtistIds; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - QStringList m_contributingArtistIds; - std::optional m_collapseBoxSetItems = std::nullopt; - QStringList m_artists; - QStringList m_artistIds; - QStringList m_albums; - QStringList m_albumIds; - QStringList m_albumArtistIds; - QString m_adjacentTo; - -}; - -class GetResumeItemsParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief The start index. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief The search term. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. Filter by MediaType. Allows multiple, comma delimited. - */ - QStringList mediaTypes() const; - void setMediaTypes(QStringList newMediaTypes) const; - - /** - * @brief The item limit. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Enable the total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_startIndex = std::nullopt; - QString m_searchTerm; - QString m_parentId; - QStringList m_mediaTypes; - std::optional m_limit = std::nullopt; - QStringList m_includeItemTypes; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - QStringList m_excludeItemTypes; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class UpdateItemParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class DeleteItemParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateItemContentTypeParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The content type of the item. - */ - QString contentType() const; - void setContentType(QString newContentType) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_contentType; - -}; - -class GetMetadataEditorInfoParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetSimilarAlbumsParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Exclude artist ids. - */ - QStringList excludeArtistIds() const; - void setExcludeArtistIds(QStringList newExcludeArtistIds) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - QList m_fields; - QStringList m_excludeArtistIds; - -}; - -class GetSimilarArtistsParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Exclude artist ids. - */ - QStringList excludeArtistIds() const; - void setExcludeArtistIds(QStringList newExcludeArtistIds) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - QList m_fields; - QStringList m_excludeArtistIds; - -}; - -class GetAncestorsParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class GetCriticReviewsParams { -public: - /** - * @brief - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDownloadParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetFileParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetSimilarItemsParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Exclude artist ids. - */ - QStringList excludeArtistIds() const; - void setExcludeArtistIds(QStringList newExcludeArtistIds) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - QList m_fields; - QStringList m_excludeArtistIds; - -}; - -class GetThemeMediaParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Determines whether or not parent items should be searched for theme media. - */ - bool inheritFromParent() const; - void setInheritFromParent(bool newInheritFromParent) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - bool m_inheritFromParent; - -}; - -class GetThemeSongsParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Determines whether or not parent items should be searched for theme media. - */ - bool inheritFromParent() const; - void setInheritFromParent(bool newInheritFromParent) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - bool m_inheritFromParent; - -}; - -class GetThemeVideosParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Determines whether or not parent items should be searched for theme media. - */ - bool inheritFromParent() const; - void setInheritFromParent(bool newInheritFromParent) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - bool m_inheritFromParent; - -}; - -class GetItemCountsParams { -public: - /** - * @brief Optional. Get counts from a specific user's library. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Get counts of favorite items. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_isFavorite = std::nullopt; - -}; - -class GetLibraryOptionsInfoParams { -public: - /** - * @brief Library content type. - */ - QString libraryContentType() const; - void setLibraryContentType(QString newLibraryContentType) const; - - /** - * @brief Whether this is a new library. - */ - bool isNewLibrary() const; - void setIsNewLibrary(bool newIsNewLibrary) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_libraryContentType; - bool m_isNewLibrary; - -}; - -class PostUpdatedMediaParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetMediaFoldersParams { -public: - /** - * @brief Optional. Filter by folders that are marked hidden, or not. - */ - std::optional isHidden() const; - void setIsHidden(std::optional newIsHidden) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_isHidden = std::nullopt; - -}; - -class PostAddedMoviesParams { -public: - /** - * @brief The tmdbId. - */ - QString tmdbId() const; - void setTmdbId(QString newTmdbId) const; - - /** - * @brief The imdbId. - */ - QString imdbId() const; - void setImdbId(QString newImdbId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_tmdbId; - QString m_imdbId; - -}; - -class PostUpdatedMoviesParams { -public: - /** - * @brief The tmdbId. - */ - QString tmdbId() const; - void setTmdbId(QString newTmdbId) const; - - /** - * @brief The imdbId. - */ - QString imdbId() const; - void setImdbId(QString newImdbId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_tmdbId; - QString m_imdbId; - -}; - -class GetPhysicalPathsParams { +class ActivateParams { public: private: // Required path parameters // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class RefreshLibraryParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class PostAddedSeriesParams { -public: - /** - * @brief The tvdbId. - */ - QString tvdbId() const; - void setTvdbId(QString newTvdbId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_tvdbId; - -}; - -class PostUpdatedSeriesParams { -public: - /** - * @brief The tvdbId. - */ - QString tvdbId() const; - void setTvdbId(QString newTvdbId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_tvdbId; - -}; - -class GetSimilarMoviesParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Exclude artist ids. - */ - QStringList excludeArtistIds() const; - void setExcludeArtistIds(QStringList newExcludeArtistIds) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - QList m_fields; - QStringList m_excludeArtistIds; - -}; - -class GetSimilarShowsParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Exclude artist ids. - */ - QStringList excludeArtistIds() const; - void setExcludeArtistIds(QStringList newExcludeArtistIds) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - QList m_fields; - QStringList m_excludeArtistIds; - -}; - -class GetSimilarTrailersParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Exclude artist ids. - */ - QStringList excludeArtistIds() const; - void setExcludeArtistIds(QStringList newExcludeArtistIds) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - QList m_fields; - QStringList m_excludeArtistIds; - -}; - -class GetVirtualFoldersParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class AddVirtualFolderParams { -public: - /** - * @brief Whether to refresh the library. - */ - bool refreshLibrary() const; - void setRefreshLibrary(bool newRefreshLibrary) const; - - /** - * @brief The paths of the virtual folder. - */ - QStringList paths() const; - void setPaths(QStringList newPaths) const; - - /** - * @brief The name of the virtual folder. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief The type of the collection. - */ - QString collectionType() const; - void setCollectionType(QString newCollectionType) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - bool m_refreshLibrary; - QStringList m_paths; - QString m_name; - QString m_collectionType; - -}; - -class RemoveVirtualFolderParams { -public: - /** - * @brief Whether to refresh the library. - */ - bool refreshLibrary() const; - void setRefreshLibrary(bool newRefreshLibrary) const; - - /** - * @brief The name of the folder. - */ - QString name() const; - void setName(QString newName) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - bool m_refreshLibrary; - QString m_name; - -}; - -class UpdateLibraryOptionsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class RenameVirtualFolderParams { -public: - /** - * @brief Whether to refresh the library. - */ - bool refreshLibrary() const; - void setRefreshLibrary(bool newRefreshLibrary) const; - - /** - * @brief The new name. - */ - QString newName() const; - void setNewName(QString newNewName) const; - - /** - * @brief The name of the virtual folder. - */ - QString name() const; - void setName(QString newName) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - bool m_refreshLibrary; - QString m_newName; - QString m_name; - -}; - -class AddMediaPathParams { -public: - /** - * @brief Whether to refresh the library. - */ - bool refreshLibrary() const; - void setRefreshLibrary(bool newRefreshLibrary) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - bool m_refreshLibrary; - -}; - -class RemoveMediaPathParams { -public: - /** - * @brief Whether to refresh the library. - */ - bool refreshLibrary() const; - void setRefreshLibrary(bool newRefreshLibrary) const; - - /** - * @brief The path to remove. - */ - QString path() const; - void setPath(QString newPath) const; - - /** - * @brief The name of the library. - */ - QString name() const; - void setName(QString newName) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - bool m_refreshLibrary; - QString m_path; - QString m_name; - -}; - -class UpdateMediaPathParams { -public: - /** - * @brief The name of the library. - */ - QString name() const; - void setName(QString newName) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_name; - -}; - -class GetChannelMappingOptionsParams { -public: - /** - * @brief Provider id. - */ - QString providerId() const; - void setProviderId(QString newProviderId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_providerId; - -}; - -class SetChannelMappingParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetLiveTvChannelsParams { -public: - /** - * @brief Optional. Filter by user and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Filter by channel type. - */ - ChannelType type() const; - void setType(ChannelType newType) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. Sort order. - */ - SortOrder sortOrder() const; - void setSortOrder(SortOrder newSortOrder) const; - - /** - * @brief Optional. Key to sort by. - */ - QStringList sortBy() const; - void setSortBy(QStringList newSortBy) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Filter for sports. - */ - std::optional isSports() const; - void setIsSports(std::optional newIsSports) const; - - /** - * @brief Optional. Filter for series. - */ - std::optional isSeries() const; - void setIsSeries(std::optional newIsSeries) const; - - /** - * @brief Optional. Filter for news. - */ - std::optional isNews() const; - void setIsNews(std::optional newIsNews) const; - - /** - * @brief Optional. Filter for movies. - */ - std::optional isMovie() const; - void setIsMovie(std::optional newIsMovie) const; - - /** - * @brief Optional. Filter by channels that are liked, or not. - */ - std::optional isLiked() const; - void setIsLiked(std::optional newIsLiked) const; - - /** - * @brief Optional. Filter for kids. - */ - std::optional isKids() const; - void setIsKids(std::optional newIsKids) const; - - /** - * @brief Optional. Filter by channels that are favorites, or not. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - /** - * @brief Optional. Filter by channels that are disliked, or not. - */ - std::optional isDisliked() const; - void setIsDisliked(std::optional newIsDisliked) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief "Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief Optional. Incorporate favorite and like status into channel sorting. - */ - bool enableFavoriteSorting() const; - void setEnableFavoriteSorting(bool newEnableFavoriteSorting) const; - - /** - * @brief Optional. Adds current program info to each channel. - */ - bool addCurrentProgram() const; - void setAddCurrentProgram(bool newAddCurrentProgram) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - ChannelType m_type; - std::optional m_startIndex = std::nullopt; - SortOrder m_sortOrder; - QStringList m_sortBy; - std::optional m_limit = std::nullopt; - std::optional m_isSports = std::nullopt; - std::optional m_isSeries = std::nullopt; - std::optional m_isNews = std::nullopt; - std::optional m_isMovie = std::nullopt; - std::optional m_isLiked = std::nullopt; - std::optional m_isKids = std::nullopt; - std::optional m_isFavorite = std::nullopt; - std::optional m_isDisliked = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - bool m_enableFavoriteSorting; - bool m_addCurrentProgram; - -}; - -class GetChannelParams { -public: - /** - * @brief Channel id. - */ - QString channelId() const; - void setChannelId(QString newChannelId) const; - - /** - * @brief Optional. Attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_channelId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class GetGuideInfoParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetLiveTvInfoParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters // Optional query parameters @@ -14120,1163 +76,133 @@ private: class AddListingProviderParams { public: - /** - * @brief Validate login. - */ - bool validateLogin() const; - void setValidateLogin(bool newValidateLogin) const; - - /** - * @brief Validate listings. - */ - bool validateListings() const; - void setValidateListings(bool newValidateListings) const; /** * @brief Password. */ - QString pw() const; - void setPw(QString newPw) const; - - + const QString &pw() const; + void setPw(QString newPw); + bool pwNull() const; + void setPwNull(); + + + /** + * @brief Validate listings. + */ + const bool &validateListings() const; + void setValidateListings(bool newValidateListings); + bool validateListingsNull() const; + void setValidateListingsNull(); + + + /** + * @brief Validate login. + */ + const bool &validateLogin() const; + void setValidateLogin(bool newValidateLogin); + bool validateLoginNull() const; + void setValidateLoginNull(); + + private: // Required path parameters // Required query parameters - - // Optional path parameters // Optional query parameters - bool m_validateLogin; - bool m_validateListings; QString m_pw; + std::optional m_validateListings = std::nullopt; + std::optional m_validateLogin = std::nullopt; }; -class DeleteListingProviderParams { +class AddMediaPathParams { public: + /** - * @brief Listing provider id. + * @brief Whether to refresh the library. */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - + const bool &refreshLibrary() const; + void setRefreshLibrary(bool newRefreshLibrary); + bool refreshLibraryNull() const; + void setRefreshLibraryNull(); + + private: // Required path parameters // Required query parameters - - // Optional path parameters // Optional query parameters - QString m_jellyfinId; + std::optional m_refreshLibrary = std::nullopt; }; -class GetDefaultListingProviderParams { +class AddToCollectionParams { public: + /** + * @brief The collection id. + */ + const QString &collectionId() const; + void setCollectionId(QString newCollectionId); + + + /** + * @brief Item ids, comma delimited. + */ + const QStringList &ids() const; + void setIds(QStringList newIds); + + private: // Required path parameters + QString m_collectionId; // Required query parameters - - // Optional path parameters + QStringList m_ids; // Optional query parameters }; -class GetLineupsParams { -public: - /** - * @brief Provider type. - */ - QString type() const; - void setType(QString newType) const; - - /** - * @brief Location. - */ - QString location() const; - void setLocation(QString newLocation) const; - - /** - * @brief Provider id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - /** - * @brief Country. - */ - QString country() const; - void setCountry(QString newCountry) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_type; - QString m_location; - QString m_jellyfinId; - QString m_country; - -}; - -class GetSchedulesDirectCountriesParams { +class AddToPlaylistParams { public: + /** + * @brief The playlist id. + */ + const QString &playlistId() const; + void setPlaylistId(QString newPlaylistId); + + + /** + * @brief Item id, comma delimited. + */ + const QStringList &ids() const; + void setIds(QStringList newIds); + bool idsNull() const; + void setIdsNull(); + + + /** + * @brief The userId. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + private: // Required path parameters + QString m_playlistId; // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetLiveRecordingFileParams { -public: - /** - * @brief Recording id. - */ - QString recordingId() const; - void setRecordingId(QString newRecordingId) const; - - -private: - // Required path parameters - QString m_recordingId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetLiveStreamFileParams { -public: - /** - * @brief Stream id. - */ - QString streamId() const; - void setStreamId(QString newStreamId) const; - - /** - * @brief Container type. - */ - QString container() const; - void setContainer(QString newContainer) const; - - -private: - // Required path parameters - QString m_streamId; - QString m_container; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetLiveTvProgramsParams { -public: - /** - * @brief Optional. Filter by user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Sort Order - Ascending,Descending. - */ - QString sortOrder() const; - void setSortOrder(QString newSortOrder) const; - - /** - * @brief Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. - */ - QString sortBy() const; - void setSortBy(QString newSortBy) const; - - /** - * @brief Optional. Filter by series timer id. - */ - QString seriesTimerId() const; - void setSeriesTimerId(QString newSeriesTimerId) const; - - /** - * @brief Optional. The minimum premiere start date. - */ - QDateTime minStartDate() const; - void setMinStartDate(QDateTime newMinStartDate) const; - - /** - * @brief Optional. The minimum premiere end date. - */ - QDateTime minEndDate() const; - void setMinEndDate(QDateTime newMinEndDate) const; - - /** - * @brief Optional. The maximum premiere start date. - */ - QDateTime maxStartDate() const; - void setMaxStartDate(QDateTime newMaxStartDate) const; - - /** - * @brief Optional. The maximum premiere end date. - */ - QDateTime maxEndDate() const; - void setMaxEndDate(QDateTime newMaxEndDate) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Filter by library series id. - */ - QString librarySeriesId() const; - void setLibrarySeriesId(QString newLibrarySeriesId) const; - - /** - * @brief Optional. Filter for sports. - */ - std::optional isSports() const; - void setIsSports(std::optional newIsSports) const; - - /** - * @brief Optional. Filter for series. - */ - std::optional isSeries() const; - void setIsSeries(std::optional newIsSeries) const; - - /** - * @brief Optional. Filter for news. - */ - std::optional isNews() const; - void setIsNews(std::optional newIsNews) const; - - /** - * @brief Optional. Filter for movies. - */ - std::optional isMovie() const; - void setIsMovie(std::optional newIsMovie) const; - - /** - * @brief Optional. Filter for kids. - */ - std::optional isKids() const; - void setIsKids(std::optional newIsKids) const; - - /** - * @brief Optional. Filter by programs that are currently airing, or not. - */ - std::optional isAiring() const; - void setIsAiring(std::optional newIsAiring) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Filter by programs that have completed airing, or not. - */ - std::optional hasAired() const; - void setHasAired(std::optional newHasAired) const; - - /** - * @brief The genres to return guide information for. - */ - QStringList genres() const; - void setGenres(QStringList newGenres) const; - - /** - * @brief The genre ids to return guide information for. - */ - QStringList genreIds() const; - void setGenreIds(QStringList newGenreIds) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Retrieve total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief The channels to return guide information for. - */ - QStringList channelIds() const; - void setChannelIds(QStringList newChannelIds) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters // Optional query parameters + QStringList m_ids; QString m_userId; - std::optional m_startIndex = std::nullopt; - QString m_sortOrder; - QString m_sortBy; - QString m_seriesTimerId; - QDateTime m_minStartDate; - QDateTime m_minEndDate; - QDateTime m_maxStartDate; - QDateTime m_maxEndDate; - std::optional m_limit = std::nullopt; - QString m_librarySeriesId; - std::optional m_isSports = std::nullopt; - std::optional m_isSeries = std::nullopt; - std::optional m_isNews = std::nullopt; - std::optional m_isMovie = std::nullopt; - std::optional m_isKids = std::nullopt; - std::optional m_isAiring = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - std::optional m_hasAired = std::nullopt; - QStringList m_genres; - QStringList m_genreIds; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - QStringList m_channelIds; - -}; - -class GetProgramsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetProgramParams { -public: - /** - * @brief Program id. - */ - QString programId() const; - void setProgramId(QString newProgramId) const; - - /** - * @brief Optional. Attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_programId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class GetRecommendedProgramsParams { -public: - /** - * @brief Optional. filter by user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Filter for sports. - */ - std::optional isSports() const; - void setIsSports(std::optional newIsSports) const; - - /** - * @brief Optional. Filter for series. - */ - std::optional isSeries() const; - void setIsSeries(std::optional newIsSeries) const; - - /** - * @brief Optional. Filter for news. - */ - std::optional isNews() const; - void setIsNews(std::optional newIsNews) const; - - /** - * @brief Optional. Filter for movies. - */ - std::optional isMovie() const; - void setIsMovie(std::optional newIsMovie) const; - - /** - * @brief Optional. Filter for kids. - */ - std::optional isKids() const; - void setIsKids(std::optional newIsKids) const; - - /** - * @brief Optional. Filter by programs that are currently airing, or not. - */ - std::optional isAiring() const; - void setIsAiring(std::optional newIsAiring) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Filter by programs that have completed airing, or not. - */ - std::optional hasAired() const; - void setHasAired(std::optional newHasAired) const; - - /** - * @brief The genres to return guide information for. - */ - QStringList genreIds() const; - void setGenreIds(QStringList newGenreIds) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Retrieve total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_limit = std::nullopt; - std::optional m_isSports = std::nullopt; - std::optional m_isSeries = std::nullopt; - std::optional m_isNews = std::nullopt; - std::optional m_isMovie = std::nullopt; - std::optional m_isKids = std::nullopt; - std::optional m_isAiring = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - std::optional m_hasAired = std::nullopt; - QStringList m_genreIds; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetRecordingsParams { -public: - /** - * @brief Optional. Filter by user and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Filter by recording status. - */ - RecordingStatus status() const; - void setStatus(RecordingStatus newStatus) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. Filter by recordings belonging to a series timer. - */ - QString seriesTimerId() const; - void setSeriesTimerId(QString newSeriesTimerId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Filter for sports. - */ - std::optional isSports() const; - void setIsSports(std::optional newIsSports) const; - - /** - * @brief Optional. Filter for series. - */ - std::optional isSeries() const; - void setIsSeries(std::optional newIsSeries) const; - - /** - * @brief Optional. Filter for news. - */ - std::optional isNews() const; - void setIsNews(std::optional newIsNews) const; - - /** - * @brief Optional. Filter for movies. - */ - std::optional isMovie() const; - void setIsMovie(std::optional newIsMovie) const; - - /** - * @brief Optional. Filter for is library item. - */ - std::optional isLibraryItem() const; - void setIsLibraryItem(std::optional newIsLibraryItem) const; - - /** - * @brief Optional. Filter for kids. - */ - std::optional isKids() const; - void setIsKids(std::optional newIsKids) const; - - /** - * @brief Optional. Filter by recordings that are in progress, or not. - */ - std::optional isInProgress() const; - void setIsInProgress(std::optional newIsInProgress) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Return total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief Optional. Filter by channel id. - */ - QString channelId() const; - void setChannelId(QString newChannelId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - RecordingStatus m_status; - std::optional m_startIndex = std::nullopt; - QString m_seriesTimerId; - std::optional m_limit = std::nullopt; - std::optional m_isSports = std::nullopt; - std::optional m_isSeries = std::nullopt; - std::optional m_isNews = std::nullopt; - std::optional m_isMovie = std::nullopt; - std::optional m_isLibraryItem = std::nullopt; - std::optional m_isKids = std::nullopt; - std::optional m_isInProgress = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - QString m_channelId; - -}; - -class GetRecordingParams { -public: - /** - * @brief Recording id. - */ - QString recordingId() const; - void setRecordingId(QString newRecordingId) const; - - /** - * @brief Optional. Attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_recordingId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class DeleteRecordingParams { -public: - /** - * @brief Recording id. - */ - QString recordingId() const; - void setRecordingId(QString newRecordingId) const; - - -private: - // Required path parameters - QString m_recordingId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetRecordingFoldersParams { -public: - /** - * @brief Optional. Filter by user and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class GetRecordingGroupsParams { -public: - /** - * @brief Optional. Filter by user and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class GetRecordingGroupParams { -public: - /** - * @brief Group id. - */ - QString groupId() const; - void setGroupId(QString newGroupId) const; - - -private: - // Required path parameters - QString m_groupId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetRecordingsSeriesParams { -public: - /** - * @brief Optional. Filter by user and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Filter by recording status. - */ - RecordingStatus status() const; - void setStatus(RecordingStatus newStatus) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. Filter by recordings belonging to a series timer. - */ - QString seriesTimerId() const; - void setSeriesTimerId(QString newSeriesTimerId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Filter by recordings that are in progress, or not. - */ - std::optional isInProgress() const; - void setIsInProgress(std::optional newIsInProgress) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Filter by recording group. - */ - QString groupId() const; - void setGroupId(QString newGroupId) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Return total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief Optional. Filter by channel id. - */ - QString channelId() const; - void setChannelId(QString newChannelId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - RecordingStatus m_status; - std::optional m_startIndex = std::nullopt; - QString m_seriesTimerId; - std::optional m_limit = std::nullopt; - std::optional m_isInProgress = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QString m_groupId; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - QString m_channelId; - -}; - -class GetSeriesTimersParams { -public: - /** - * @brief Optional. Sort in Ascending or Descending order. - */ - SortOrder sortOrder() const; - void setSortOrder(SortOrder newSortOrder) const; - - /** - * @brief Optional. Sort by SortName or Priority. - */ - QString sortBy() const; - void setSortBy(QString newSortBy) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - SortOrder m_sortOrder; - QString m_sortBy; - -}; - -class CreateSeriesTimerParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetSeriesTimerParams { -public: - /** - * @brief Timer id. - */ - QString timerId() const; - void setTimerId(QString newTimerId) const; - - -private: - // Required path parameters - QString m_timerId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class CancelSeriesTimerParams { -public: - /** - * @brief Timer id. - */ - QString timerId() const; - void setTimerId(QString newTimerId) const; - - -private: - // Required path parameters - QString m_timerId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateSeriesTimerParams { -public: - /** - * @brief Timer id. - */ - QString timerId() const; - void setTimerId(QString newTimerId) const; - - -private: - // Required path parameters - QString m_timerId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetTimersParams { -public: - /** - * @brief Optional. Filter by timers belonging to a series timer. - */ - QString seriesTimerId() const; - void setSeriesTimerId(QString newSeriesTimerId) const; - - /** - * @brief Optional. Filter by timers that are scheduled. - */ - std::optional isScheduled() const; - void setIsScheduled(std::optional newIsScheduled) const; - - /** - * @brief Optional. Filter by timers that are active. - */ - std::optional isActive() const; - void setIsActive(std::optional newIsActive) const; - - /** - * @brief Optional. Filter by channel id. - */ - QString channelId() const; - void setChannelId(QString newChannelId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_seriesTimerId; - std::optional m_isScheduled = std::nullopt; - std::optional m_isActive = std::nullopt; - QString m_channelId; - -}; - -class CreateTimerParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetTimerParams { -public: - /** - * @brief Timer id. - */ - QString timerId() const; - void setTimerId(QString newTimerId) const; - - -private: - // Required path parameters - QString m_timerId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class CancelTimerParams { -public: - /** - * @brief Timer id. - */ - QString timerId() const; - void setTimerId(QString newTimerId) const; - - -private: - // Required path parameters - QString m_timerId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateTimerParams { -public: - /** - * @brief Timer id. - */ - QString timerId() const; - void setTimerId(QString newTimerId) const; - - -private: - // Required path parameters - QString m_timerId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetDefaultTimerParams { -public: - /** - * @brief Optional. To attach default values based on a program. - */ - QString programId() const; - void setProgramId(QString newProgramId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_programId; }; @@ -15287,2647 +213,6 @@ private: // Required path parameters // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class DeleteTunerHostParams { -public: - /** - * @brief Tuner host id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_jellyfinId; - -}; - -class GetTunerHostTypesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class ResetTunerParams { -public: - /** - * @brief Tuner id. - */ - QString tunerId() const; - void setTunerId(QString newTunerId) const; - - -private: - // Required path parameters - QString m_tunerId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class DiscoverTunersParams { -public: - /** - * @brief Only discover new tuners. - */ - bool newDevicesOnly() const; - void setNewDevicesOnly(bool newNewDevicesOnly) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - bool m_newDevicesOnly; - -}; - -class DiscvoverTunersParams { -public: - /** - * @brief Only discover new tuners. - */ - bool newDevicesOnly() const; - void setNewDevicesOnly(bool newNewDevicesOnly) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - bool m_newDevicesOnly; - -}; - -class GetCountriesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetCulturesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetLocalizationOptionsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetParentalRatingsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPlaybackInfoParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - QString m_userId; - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPostedPlaybackInfoParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief The subtitle stream index. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief The start time in ticks. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The media source id. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief The maximum streaming bitrate. - */ - std::optional maxStreamingBitrate() const; - void setMaxStreamingBitrate(std::optional newMaxStreamingBitrate) const; - - /** - * @brief The maximum number of audio channels. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief The livestream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Whether to enable transcoding. Default: true. - */ - std::optional enableTranscoding() const; - void setEnableTranscoding(std::optional newEnableTranscoding) const; - - /** - * @brief Whether to enable direct stream. Default: true. - */ - std::optional enableDirectStream() const; - void setEnableDirectStream(std::optional newEnableDirectStream) const; - - /** - * @brief Whether to enable direct play. Default: true. - */ - std::optional enableDirectPlay() const; - void setEnableDirectPlay(std::optional newEnableDirectPlay) const; - - /** - * @brief Whether to auto open the livestream. - */ - std::optional autoOpenLiveStream() const; - void setAutoOpenLiveStream(std::optional newAutoOpenLiveStream) const; - - /** - * @brief The audio stream index. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Whether to allow to copy the video stream. Default: true. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether to allow to copy the audio stream. Default: true. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_subtitleStreamIndex = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxStreamingBitrate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - QString m_liveStreamId; - std::optional m_enableTranscoding = std::nullopt; - std::optional m_enableDirectStream = std::nullopt; - std::optional m_enableDirectPlay = std::nullopt; - std::optional m_autoOpenLiveStream = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class CloseLiveStreamParams { -public: - /** - * @brief The livestream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_liveStreamId; - - // Optional path parameters - - // Optional query parameters - -}; - -class OpenLiveStreamParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief The subtitle stream index. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief The start time in ticks. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The open token. - */ - QString openToken() const; - void setOpenToken(QString newOpenToken) const; - - /** - * @brief The maximum streaming bitrate. - */ - std::optional maxStreamingBitrate() const; - void setMaxStreamingBitrate(std::optional newMaxStreamingBitrate) const; - - /** - * @brief The maximum number of audio channels. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Whether to enable direct stream. Default: true. - */ - std::optional enableDirectStream() const; - void setEnableDirectStream(std::optional newEnableDirectStream) const; - - /** - * @brief Whether to enable direct play. Default: true. - */ - std::optional enableDirectPlay() const; - void setEnableDirectPlay(std::optional newEnableDirectPlay) const; - - /** - * @brief The audio stream index. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_subtitleStreamIndex = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - QString m_playSessionId; - QString m_openToken; - std::optional m_maxStreamingBitrate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - QString m_itemId; - std::optional m_enableDirectStream = std::nullopt; - std::optional m_enableDirectPlay = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - -}; - -class GetBitrateTestBytesParams { -public: - /** - * @brief The bitrate. Defaults to 102400. - */ - qint32 size() const; - void setSize(qint32 newSize) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - qint32 m_size; - -}; - -class GetMovieRecommendationsParams { -public: - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief The max number of items to return per category. - */ - qint32 itemLimit() const; - void setItemLimit(qint32 newItemLimit) const; - - /** - * @brief Optional. The fields to return. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief The max number of categories to return. - */ - qint32 categoryLimit() const; - void setCategoryLimit(qint32 newCategoryLimit) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - QString m_parentId; - qint32 m_itemLimit; - QList m_fields; - qint32 m_categoryLimit; - -}; - -class GetMusicGenresParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief The search term. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional filter by items whose name is sorted equally or greater than a given input string. - */ - QString nameStartsWithOrGreater() const; - void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) const; - - /** - * @brief Optional filter by items whose name is sorted equally than a given input string. - */ - QString nameStartsWith() const; - void setNameStartsWith(QString newNameStartsWith) const; - - /** - * @brief Optional filter by items whose name is equally or lesser than a given input string. - */ - QString nameLessThan() const; - void setNameLessThan(QString newNameLessThan) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional filter by items that are marked as favorite, or not. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - /** - * @brief Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional, the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - /** - * @brief Optional. Include total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional, include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_startIndex = std::nullopt; - QString m_searchTerm; - QString m_parentId; - QString m_nameStartsWithOrGreater; - QString m_nameStartsWith; - QString m_nameLessThan; - std::optional m_limit = std::nullopt; - std::optional m_isFavorite = std::nullopt; - QStringList m_includeItemTypes; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - QStringList m_excludeItemTypes; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetMusicGenreParams { -public: - /** - * @brief The genre name. - */ - QString genreName() const; - void setGenreName(QString newGenreName) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_genreName; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class GetNotificationsParams { -public: - /** - * @brief - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SetReadParams { -public: - /** - * @brief - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetNotificationsSummaryParams { -public: - /** - * @brief - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SetUnreadParams { -public: - /** - * @brief - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class CreateAdminNotificationParams { -public: - /** - * @brief The URL of the notification. - */ - QString url() const; - void setUrl(QString newUrl) const; - - /** - * @brief The name of the notification. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief The level of the notification. - */ - NotificationLevel level() const; - void setLevel(NotificationLevel newLevel) const; - - /** - * @brief The description of the notification. - */ - QString description() const; - void setDescription(QString newDescription) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_url; - QString m_name; - NotificationLevel m_level; - QString m_description; - -}; - -class GetNotificationServicesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetNotificationTypesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPackagesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPackageInfoParams { -public: - /** - * @brief The name of the package. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief The GUID of the associated assembly. - */ - QString assemblyGuid() const; - void setAssemblyGuid(QString newAssemblyGuid) const; - - -private: - // Required path parameters - QString m_name; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_assemblyGuid; - -}; - -class InstallPackageParams { -public: - /** - * @brief Package name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Optional version. Defaults to latest version. - */ - QString version() const; - void setVersion(QString newVersion) const; - - /** - * @brief Optional. Specify the repository to install from. - */ - QString repositoryUrl() const; - void setRepositoryUrl(QString newRepositoryUrl) const; - - /** - * @brief GUID of the associated assembly. - */ - QString assemblyGuid() const; - void setAssemblyGuid(QString newAssemblyGuid) const; - - -private: - // Required path parameters - QString m_name; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_version; - QString m_repositoryUrl; - QString m_assemblyGuid; - -}; - -class CancelPackageInstallationParams { -public: - /** - * @brief Installation Id. - */ - QString packageId() const; - void setPackageId(QString newPackageId) const; - - -private: - // Required path parameters - QString m_packageId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetRepositoriesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SetRepositoriesParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPersonsParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief The search term. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief Optional. If specified results will be filtered to include only those containing the specified PersonType. Allows multiple, comma-delimited. - */ - QStringList personTypes() const; - void setPersonTypes(QStringList newPersonTypes) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional filter by items that are marked as favorite, or not. userId is required. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - /** - * @brief Optional, the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional filters to apply. - */ - QList filters() const; - void setFilters(QList newFilters) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified results will be filtered to exclude those containing the specified PersonType. Allows multiple, comma-delimited. - */ - QStringList excludePersonTypes() const; - void setExcludePersonTypes(QStringList newExcludePersonTypes) const; - - /** - * @brief Optional, include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional, include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief Optional. If specified, person results will be filtered on items related to said persons. - */ - QString appearsInItemId() const; - void setAppearsInItemId(QString newAppearsInItemId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - QString m_searchTerm; - QStringList m_personTypes; - std::optional m_limit = std::nullopt; - std::optional m_isFavorite = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_filters; - QList m_fields; - QStringList m_excludePersonTypes; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - QString m_appearsInItemId; - -}; - -class GetPersonParams { -public: - /** - * @brief Person name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_name; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class CreatePlaylistParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief The playlist name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief The media type. - */ - QString mediaType() const; - void setMediaType(QString newMediaType) const; - - /** - * @brief The item ids. - */ - QStringList ids() const; - void setIds(QStringList newIds) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - QString m_name; - QString m_mediaType; - QStringList m_ids; - -}; - -class AddToPlaylistParams { -public: - /** - * @brief The playlist id. - */ - QString playlistId() const; - void setPlaylistId(QString newPlaylistId) const; - - /** - * @brief The userId. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Item id, comma delimited. - */ - QStringList ids() const; - void setIds(QStringList newIds) const; - - -private: - // Required path parameters - QString m_playlistId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - QStringList m_ids; - -}; - -class RemoveFromPlaylistParams { -public: - /** - * @brief The playlist id. - */ - QString playlistId() const; - void setPlaylistId(QString newPlaylistId) const; - - /** - * @brief The item ids, comma delimited. - */ - QStringList entryIds() const; - void setEntryIds(QStringList newEntryIds) const; - - -private: - // Required path parameters - QString m_playlistId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QStringList m_entryIds; - -}; - -class GetPlaylistItemsParams { -public: - /** - * @brief The playlist id. - */ - QString playlistId() const; - void setPlaylistId(QString newPlaylistId) const; - - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - QString m_playlistId; - - // Required query parameters - QString m_userId; - - // Optional path parameters - - // Optional query parameters - std::optional m_startIndex = std::nullopt; - std::optional m_limit = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class MoveItemParams { -public: - /** - * @brief The playlist id. - */ - QString playlistId() const; - void setPlaylistId(QString newPlaylistId) const; - - /** - * @brief The new index. - */ - qint32 newIndex() const; - void setNewIndex(qint32 newNewIndex) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_playlistId; - qint32 m_newIndex; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class ReportPlaybackStartParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class PingPlaybackSessionParams { -public: - /** - * @brief Playback session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_playSessionId; - -}; - -class ReportPlaybackProgressParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class ReportPlaybackStoppedParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class MarkPlayedItemParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The date the item was played. - */ - QDateTime datePlayed() const; - void setDatePlayed(QDateTime newDatePlayed) const; - - -private: - // Required path parameters - QString m_userId; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QDateTime m_datePlayed; - -}; - -class MarkUnplayedItemParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_userId; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class OnPlaybackStartParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The subtitle stream index. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The play method. - */ - PlayMethod playMethod() const; - void setPlayMethod(PlayMethod newPlayMethod) const; - - /** - * @brief The id of the MediaSource. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Indicates if the client can seek. - */ - bool canSeek() const; - void setCanSeek(bool newCanSeek) const; - - /** - * @brief The audio stream index. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - -private: - // Required path parameters - QString m_userId; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_subtitleStreamIndex = std::nullopt; - QString m_playSessionId; - PlayMethod m_playMethod; - QString m_mediaSourceId; - QString m_liveStreamId; - bool m_canSeek; - std::optional m_audioStreamIndex = std::nullopt; - -}; - -class OnPlaybackStoppedParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The position, in ticks, where playback stopped. 1 tick = 10000 ms. - */ - std::optional positionTicks() const; - void setPositionTicks(std::optional newPositionTicks) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The next media type that will play. - */ - QString nextMediaType() const; - void setNextMediaType(QString newNextMediaType) const; - - /** - * @brief The id of the MediaSource. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - -private: - // Required path parameters - QString m_userId; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_positionTicks = std::nullopt; - QString m_playSessionId; - QString m_nextMediaType; - QString m_mediaSourceId; - QString m_liveStreamId; - -}; - -class OnPlaybackProgressParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Scale of 0-100. - */ - std::optional volumeLevel() const; - void setVolumeLevel(std::optional newVolumeLevel) const; - - /** - * @brief The subtitle stream index. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief The repeat mode. - */ - RepeatMode repeatMode() const; - void setRepeatMode(RepeatMode newRepeatMode) const; - - /** - * @brief Optional. The current position, in ticks. 1 tick = 10000 ms. - */ - std::optional positionTicks() const; - void setPositionTicks(std::optional newPositionTicks) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The play method. - */ - PlayMethod playMethod() const; - void setPlayMethod(PlayMethod newPlayMethod) const; - - /** - * @brief The id of the MediaSource. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Indicates if the player is paused. - */ - bool isPaused() const; - void setIsPaused(bool newIsPaused) const; - - /** - * @brief Indicates if the player is muted. - */ - bool isMuted() const; - void setIsMuted(bool newIsMuted) const; - - /** - * @brief The audio stream index. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - -private: - // Required path parameters - QString m_userId; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_volumeLevel = std::nullopt; - std::optional m_subtitleStreamIndex = std::nullopt; - RepeatMode m_repeatMode; - std::optional m_positionTicks = std::nullopt; - QString m_playSessionId; - PlayMethod m_playMethod; - QString m_mediaSourceId; - QString m_liveStreamId; - bool m_isPaused; - bool m_isMuted; - std::optional m_audioStreamIndex = std::nullopt; - -}; - -class GetPluginsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UninstallPluginParams { -public: - /** - * @brief Plugin id. - */ - QString pluginId() const; - void setPluginId(QString newPluginId) const; - - -private: - // Required path parameters - QString m_pluginId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UninstallPluginByVersionParams { -public: - /** - * @brief Plugin version. - */ - QSharedPointer version() const; - void setVersion(QSharedPointer newVersion) const; - - /** - * @brief Plugin id. - */ - QString pluginId() const; - void setPluginId(QString newPluginId) const; - - -private: - // Required path parameters - QSharedPointer m_version; - QString m_pluginId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class DisablePluginParams { -public: - /** - * @brief Plugin version. - */ - QSharedPointer version() const; - void setVersion(QSharedPointer newVersion) const; - - /** - * @brief Plugin id. - */ - QString pluginId() const; - void setPluginId(QString newPluginId) const; - - -private: - // Required path parameters - QSharedPointer m_version; - QString m_pluginId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class EnablePluginParams { -public: - /** - * @brief Plugin version. - */ - QSharedPointer version() const; - void setVersion(QSharedPointer newVersion) const; - - /** - * @brief Plugin id. - */ - QString pluginId() const; - void setPluginId(QString newPluginId) const; - - -private: - // Required path parameters - QSharedPointer m_version; - QString m_pluginId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPluginImageParams { -public: - /** - * @brief Plugin version. - */ - QSharedPointer version() const; - void setVersion(QSharedPointer newVersion) const; - - /** - * @brief Plugin id. - */ - QString pluginId() const; - void setPluginId(QString newPluginId) const; - - -private: - // Required path parameters - QSharedPointer m_version; - QString m_pluginId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPluginConfigurationParams { -public: - /** - * @brief Plugin id. - */ - QString pluginId() const; - void setPluginId(QString newPluginId) const; - - -private: - // Required path parameters - QString m_pluginId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdatePluginConfigurationParams { -public: - /** - * @brief Plugin id. - */ - QString pluginId() const; - void setPluginId(QString newPluginId) const; - - -private: - // Required path parameters - QString m_pluginId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPluginManifestParams { -public: - /** - * @brief Plugin id. - */ - QString pluginId() const; - void setPluginId(QString newPluginId) const; - - -private: - // Required path parameters - QString m_pluginId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdatePluginSecurityInfoParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class ActivateParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class AuthorizeParams { -public: - /** - * @brief Quick connect code to authorize. - */ - QString code() const; - void setCode(QString newCode) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_code; - - // Optional path parameters - - // Optional query parameters - -}; - -class AvailableParams { -public: - /** - * @brief New MediaBrowser.Model.QuickConnect.QuickConnectState. - */ - QuickConnectState status() const; - void setStatus(QuickConnectState newStatus) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QuickConnectState m_status; - -}; - -class ConnectParams { -public: - /** - * @brief Secret previously returned from the Initiate endpoint. - */ - QString secret() const; - void setSecret(QString newSecret) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_secret; - - // Optional path parameters - - // Optional query parameters - -}; - -class DeauthorizeParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class InitiateParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetStatusParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetRemoteImageParams { -public: - /** - * @brief The image url. - */ - QString imageUrl() const; - void setImageUrl(QString newImageUrl) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_imageUrl; - - // Optional path parameters - - // Optional query parameters - -}; - -class GetRemoteImagesParams { -public: - /** - * @brief Item Id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The image type. - */ - ImageType type() const; - void setType(ImageType newType) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. The image provider to use. - */ - QString providerName() const; - void setProviderName(QString newProviderName) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Include all languages. - */ - bool includeAllLanguages() const; - void setIncludeAllLanguages(bool newIncludeAllLanguages) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - ImageType m_type; - std::optional m_startIndex = std::nullopt; - QString m_providerName; - std::optional m_limit = std::nullopt; - bool m_includeAllLanguages; - -}; - -class DownloadRemoteImageParams { -public: - /** - * @brief Item Id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The image type. - */ - ImageType type() const; - void setType(ImageType newType) const; - - /** - * @brief The image url. - */ - QString imageUrl() const; - void setImageUrl(QString newImageUrl) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - ImageType m_type; - - // Optional path parameters - - // Optional query parameters - QString m_imageUrl; - -}; - -class GetRemoteImageProvidersParams { -public: - /** - * @brief Item Id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetTasksParams { -public: - /** - * @brief Optional filter tasks that are hidden, or not. - */ - std::optional isHidden() const; - void setIsHidden(std::optional newIsHidden) const; - - /** - * @brief Optional filter tasks that are enabled, or not. - */ - std::optional isEnabled() const; - void setIsEnabled(std::optional newIsEnabled) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_isHidden = std::nullopt; - std::optional m_isEnabled = std::nullopt; - -}; - -class GetTaskParams { -public: - /** - * @brief Task Id. - */ - QString taskId() const; - void setTaskId(QString newTaskId) const; - - -private: - // Required path parameters - QString m_taskId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateTaskParams { -public: - /** - * @brief Task Id. - */ - QString taskId() const; - void setTaskId(QString newTaskId) const; - - -private: - // Required path parameters - QString m_taskId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class StartTaskParams { -public: - /** - * @brief Task Id. - */ - QString taskId() const; - void setTaskId(QString newTaskId) const; - - -private: - // Required path parameters - QString m_taskId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class StopTaskParams { -public: - /** - * @brief Task Id. - */ - QString taskId() const; - void setTaskId(QString newTaskId) const; - - -private: - // Required path parameters - QString m_taskId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetParams { -public: - /** - * @brief The search term to filter on. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief Optional. Supply a user id to search within a user's library or omit to search all. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief If specified, only children of the parent are returned. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. - */ - QStringList mediaTypes() const; - void setMediaTypes(QStringList newMediaTypes) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional filter for sports. - */ - std::optional isSports() const; - void setIsSports(std::optional newIsSports) const; - - /** - * @brief Optional filter for series. - */ - std::optional isSeries() const; - void setIsSeries(std::optional newIsSeries) const; - - /** - * @brief Optional filter for news. - */ - std::optional isNews() const; - void setIsNews(std::optional newIsNews) const; - - /** - * @brief Optional filter for movies. - */ - std::optional isMovie() const; - void setIsMovie(std::optional newIsMovie) const; - - /** - * @brief Optional filter for kids. - */ - std::optional isKids() const; - void setIsKids(std::optional newIsKids) const; - - /** - * @brief Optional filter whether to include studios. - */ - bool includeStudios() const; - void setIncludeStudios(bool newIncludeStudios) const; - - /** - * @brief Optional filter whether to include people. - */ - bool includePeople() const; - void setIncludePeople(bool newIncludePeople) const; - - /** - * @brief Optional filter whether to include media. - */ - bool includeMedia() const; - void setIncludeMedia(bool newIncludeMedia) const; - - /** - * @brief If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional filter whether to include genres. - */ - bool includeGenres() const; - void setIncludeGenres(bool newIncludeGenres) const; - - /** - * @brief Optional filter whether to include artists. - */ - bool includeArtists() const; - void setIncludeArtists(bool newIncludeArtists) const; - - /** - * @brief If specified, results with these item types are filtered out. This allows multiple, comma delimeted. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_searchTerm; - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_startIndex = std::nullopt; - QString m_parentId; - QStringList m_mediaTypes; - std::optional m_limit = std::nullopt; - std::optional m_isSports = std::nullopt; - std::optional m_isSeries = std::nullopt; - std::optional m_isNews = std::nullopt; - std::optional m_isMovie = std::nullopt; - std::optional m_isKids = std::nullopt; - bool m_includeStudios; - bool m_includePeople; - bool m_includeMedia; - QStringList m_includeItemTypes; - bool m_includeGenres; - bool m_includeArtists; - QStringList m_excludeItemTypes; - -}; - -class GetPasswordResetProvidersParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetAuthProvidersParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetSessionsParams { -public: - /** - * @brief Filter by device Id. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Filter by sessions that a given user is allowed to remote control. - */ - QString controllableByUserId() const; - void setControllableByUserId(QString newControllableByUserId) const; - - /** - * @brief Optional. Filter by sessions that were active in the last n seconds. - */ - std::optional activeWithinSeconds() const; - void setActiveWithinSeconds(std::optional newActiveWithinSeconds) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_deviceId; - QString m_controllableByUserId; - std::optional m_activeWithinSeconds = std::nullopt; - -}; - -class SendFullGeneralCommandParams { -public: - /** - * @brief The session id. - */ - QString sessionId() const; - void setSessionId(QString newSessionId) const; - - -private: - // Required path parameters - QString m_sessionId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SendGeneralCommandParams { -public: - /** - * @brief The session id. - */ - QString sessionId() const; - void setSessionId(QString newSessionId) const; - - /** - * @brief The command to send. - */ - GeneralCommandType command() const; - void setCommand(GeneralCommandType newCommand) const; - - -private: - // Required path parameters - QString m_sessionId; - GeneralCommandType m_command; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SendMessageCommandParams { -public: - /** - * @brief The session id. - */ - QString sessionId() const; - void setSessionId(QString newSessionId) const; - - /** - * @brief The message test. - */ - QString text() const; - void setText(QString newText) const; - - /** - * @brief The message timeout. If omitted the user will have to confirm viewing the message. - */ - std::optional timeoutMs() const; - void setTimeoutMs(std::optional newTimeoutMs) const; - - /** - * @brief The message header. - */ - QString header() const; - void setHeader(QString newHeader) const; - - -private: - // Required path parameters - QString m_sessionId; - - // Required query parameters - QString m_text; - - // Optional path parameters - - // Optional query parameters - std::optional m_timeoutMs = std::nullopt; - QString m_header; - -}; - -class PlayParams { -public: - /** - * @brief The session id. - */ - QString sessionId() const; - void setSessionId(QString newSessionId) const; - - /** - * @brief The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now. - */ - PlayCommand playCommand() const; - void setPlayCommand(PlayCommand newPlayCommand) const; - - /** - * @brief The ids of the items to play, comma delimited. - */ - QStringList itemIds() const; - void setItemIds(QStringList newItemIds) const; - - /** - * @brief The starting position of the first item. - */ - std::optional startPositionTicks() const; - void setStartPositionTicks(std::optional newStartPositionTicks) const; - - -private: - // Required path parameters - QString m_sessionId; - - // Required query parameters - PlayCommand m_playCommand; - QStringList m_itemIds; - - // Optional path parameters - - // Optional query parameters - std::optional m_startPositionTicks = std::nullopt; - -}; - -class SendPlaystateCommandParams { -public: - /** - * @brief The session id. - */ - QString sessionId() const; - void setSessionId(QString newSessionId) const; - - /** - * @brief The MediaBrowser.Model.Session.PlaystateCommand. - */ - PlaystateCommand command() const; - void setCommand(PlaystateCommand newCommand) const; - - /** - * @brief The optional position ticks. - */ - std::optional seekPositionTicks() const; - void setSeekPositionTicks(std::optional newSeekPositionTicks) const; - - /** - * @brief The optional controlling user id. - */ - QString controllingUserId() const; - void setControllingUserId(QString newControllingUserId) const; - - -private: - // Required path parameters - QString m_sessionId; - PlaystateCommand m_command; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_seekPositionTicks = std::nullopt; - QString m_controllingUserId; - -}; - -class SendSystemCommandParams { -public: - /** - * @brief The session id. - */ - QString sessionId() const; - void setSessionId(QString newSessionId) const; - - /** - * @brief The command to send. - */ - GeneralCommandType command() const; - void setCommand(GeneralCommandType newCommand) const; - - -private: - // Required path parameters - QString m_sessionId; - GeneralCommandType m_command; - - // Required query parameters - - // Optional path parameters // Optional query parameters @@ -17935,2776 +220,152 @@ private: class AddUserToSessionParams { public: + + /** + * @brief The session id. + */ + const QString &sessionId() const; + void setSessionId(QString newSessionId); + + /** * @brief The user id. */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief The session id. - */ - QString sessionId() const; - void setSessionId(QString newSessionId) const; - + const QString &userId() const; + void setUserId(QString newUserId); + private: // Required path parameters + QString m_sessionId; QString m_userId; - QString m_sessionId; // Required query parameters - - // Optional path parameters // Optional query parameters }; -class RemoveUserFromSessionParams { +class AddVirtualFolderParams { public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; /** - * @brief The session id. + * @brief The type of the collection. */ - QString sessionId() const; - void setSessionId(QString newSessionId) const; - - -private: - // Required path parameters - QString m_userId; - QString m_sessionId; + const QString &collectionType() const; + void setCollectionType(QString newCollectionType); + bool collectionTypeNull() const; + void setCollectionTypeNull(); - // Required query parameters - // Optional path parameters - - // Optional query parameters - -}; - -class DisplayContentParams { -public: /** - * @brief The session Id. + * @brief The name of the virtual folder. */ - QString sessionId() const; - void setSessionId(QString newSessionId) const; - - /** - * @brief The type of item to browse to. - */ - QString itemType() const; - void setItemType(QString newItemType) const; - - /** - * @brief The name of the item. - */ - QString itemName() const; - void setItemName(QString newItemName) const; - - /** - * @brief The Id of the item. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_sessionId; + const QString &name() const; + void setName(QString newName); + bool nameNull() const; + void setNameNull(); - // Required query parameters - QString m_itemType; - QString m_itemName; - QString m_itemId; - // Optional path parameters - - // Optional query parameters - -}; - -class PostCapabilitiesParams { -public: /** - * @brief Determines whether sync is supported. + * @brief The paths of the virtual folder. */ - bool supportsSync() const; - void setSupportsSync(bool newSupportsSync) const; - + const QStringList &paths() const; + void setPaths(QStringList newPaths); + bool pathsNull() const; + void setPathsNull(); + + /** - * @brief Determines whether the device supports a unique identifier. + * @brief Whether to refresh the library. */ - bool supportsPersistentIdentifier() const; - void setSupportsPersistentIdentifier(bool newSupportsPersistentIdentifier) const; - - /** - * @brief Determines whether media can be played remotely.. - */ - bool supportsMediaControl() const; - void setSupportsMediaControl(bool newSupportsMediaControl) const; - - /** - * @brief A list of supported remote control commands, comma delimited. - */ - QList supportedCommands() const; - void setSupportedCommands(QList newSupportedCommands) const; - - /** - * @brief A list of playable media types, comma delimited. Audio, Video, Book, Photo. - */ - QStringList playableMediaTypes() const; - void setPlayableMediaTypes(QStringList newPlayableMediaTypes) const; - - /** - * @brief The session id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - + const bool &refreshLibrary() const; + void setRefreshLibrary(bool newRefreshLibrary); + bool refreshLibraryNull() const; + void setRefreshLibraryNull(); + + private: // Required path parameters // Required query parameters - - // Optional path parameters // Optional query parameters - bool m_supportsSync; - bool m_supportsPersistentIdentifier; - bool m_supportsMediaControl; - QList m_supportedCommands; - QStringList m_playableMediaTypes; - QString m_jellyfinId; - -}; - -class PostFullCapabilitiesParams { -public: - /** - * @brief The session id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_jellyfinId; - -}; - -class ReportSessionEndedParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class ReportViewingParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The session id. - */ - QString sessionId() const; - void setSessionId(QString newSessionId) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_itemId; - - // Optional path parameters - - // Optional query parameters - QString m_sessionId; - -}; - -class CompleteWizardParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetStartupConfigurationParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateInitialConfigurationParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetFirstUser_2Params { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SetRemoteAccessParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetFirstUserParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateStartupUserParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetStudiosParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. Search term. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional filter by items whose name is sorted equally or greater than a given input string. - */ - QString nameStartsWithOrGreater() const; - void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) const; - - /** - * @brief Optional filter by items whose name is sorted equally than a given input string. - */ - QString nameStartsWith() const; - void setNameStartsWith(QString newNameStartsWith) const; - - /** - * @brief Optional filter by items whose name is equally or lesser than a given input string. - */ - QString nameLessThan() const; - void setNameLessThan(QString newNameLessThan) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional filter by items that are marked as favorite, or not. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - /** - * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional, the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - /** - * @brief Optional, include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional, include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_startIndex = std::nullopt; - QString m_searchTerm; - QString m_parentId; - QString m_nameStartsWithOrGreater; - QString m_nameStartsWith; - QString m_nameLessThan; - std::optional m_limit = std::nullopt; - std::optional m_isFavorite = std::nullopt; - QStringList m_includeItemTypes; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - QStringList m_excludeItemTypes; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetStudioParams { -public: - /** - * @brief Studio name. - */ - QString name() const; - void setName(QString newName) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters + QString m_collectionType; QString m_name; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; + QStringList m_paths; + std::optional m_refreshLibrary = std::nullopt; }; -class GetFallbackFontListParams { +class ApplySearchCriteriaParams { public: -private: - // Required path parameters + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + - // Required query parameters + /** + * @brief Optional. Whether or not to replace all images. Default: True. + */ + const bool &replaceAllImages() const; + void setReplaceAllImages(bool newReplaceAllImages); + bool replaceAllImagesNull() const; + void setReplaceAllImagesNull(); - // Optional path parameters - - // Optional query parameters - -}; - -class GetFallbackFontParams { -public: - /** - * @brief The name of the fallback font file to get. - */ - QString name() const; - void setName(QString newName) const; - - -private: - // Required path parameters - QString m_name; - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SearchRemoteSubtitlesParams { -public: - /** - * @brief The language of the subtitles. - */ - QString language() const; - void setLanguage(QString newLanguage) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Only show subtitles which are a perfect match. - */ - std::optional isPerfectMatch() const; - void setIsPerfectMatch(std::optional newIsPerfectMatch) const; - - -private: - // Required path parameters - QString m_language; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_isPerfectMatch = std::nullopt; - -}; - -class DownloadRemoteSubtitlesParams { -public: - /** - * @brief The subtitle id. - */ - QString subtitleId() const; - void setSubtitleId(QString newSubtitleId) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_subtitleId; - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetRemoteSubtitlesParams { -public: - /** - * @brief The item id. - */ - QString jellyfinId() const; - void setJellyfinId(QString newJellyfinId) const; - - -private: - // Required path parameters - QString m_jellyfinId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetSubtitleWithTicksParams { -public: - /** - * @brief Optional. The start position of the subtitle in ticks. - */ - qint64 startPositionTicks() const; - void setStartPositionTicks(qint64 newStartPositionTicks) const; - - /** - * @brief The media source id. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The subtitle stream index. - */ - qint32 index() const; - void setIndex(qint32 newIndex) const; - - /** - * @brief The format of the returned subtitle. - */ - QString format() const; - void setFormat(QString newFormat) const; - - /** - * @brief Optional. The end position of the subtitle in ticks. - */ - std::optional endPositionTicks() const; - void setEndPositionTicks(std::optional newEndPositionTicks) const; - - /** - * @brief Optional. Whether to copy the timestamps. - */ - bool copyTimestamps() const; - void setCopyTimestamps(bool newCopyTimestamps) const; - - /** - * @brief Optional. Whether to add a VTT time map. - */ - bool addVttTimeMap() const; - void setAddVttTimeMap(bool newAddVttTimeMap) const; - - -private: - // Required path parameters - qint64 m_startPositionTicks; - QString m_mediaSourceId; - QString m_itemId; - qint32 m_index; - QString m_format; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_endPositionTicks = std::nullopt; - bool m_copyTimestamps; - bool m_addVttTimeMap; - -}; - -class GetSubtitleParams { -public: - /** - * @brief The media source id. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The subtitle stream index. - */ - qint32 index() const; - void setIndex(qint32 newIndex) const; - - /** - * @brief The format of the returned subtitle. - */ - QString format() const; - void setFormat(QString newFormat) const; - - /** - * @brief Optional. The start position of the subtitle in ticks. - */ - qint64 startPositionTicks() const; - void setStartPositionTicks(qint64 newStartPositionTicks) const; - - /** - * @brief Optional. The end position of the subtitle in ticks. - */ - std::optional endPositionTicks() const; - void setEndPositionTicks(std::optional newEndPositionTicks) const; - - /** - * @brief Optional. Whether to copy the timestamps. - */ - bool copyTimestamps() const; - void setCopyTimestamps(bool newCopyTimestamps) const; - - /** - * @brief Optional. Whether to add a VTT time map. - */ - bool addVttTimeMap() const; - void setAddVttTimeMap(bool newAddVttTimeMap) const; - - -private: - // Required path parameters - QString m_mediaSourceId; - QString m_itemId; - qint32 m_index; - QString m_format; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - qint64 m_startPositionTicks; - std::optional m_endPositionTicks = std::nullopt; - bool m_copyTimestamps; - bool m_addVttTimeMap; - -}; - -class GetSubtitlePlaylistParams { -public: - /** - * @brief The media source id. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The subtitle stream index. - */ - qint32 index() const; - void setIndex(qint32 newIndex) const; - - /** - * @brief The subtitle segment length. - */ - qint32 segmentLength() const; - void setSegmentLength(qint32 newSegmentLength) const; - - -private: - // Required path parameters - QString m_mediaSourceId; - QString m_itemId; - qint32 m_index; - - // Required query parameters - qint32 m_segmentLength; - - // Optional path parameters - - // Optional query parameters - -}; - -class UploadSubtitleParams { -public: - /** - * @brief The item the subtitle belongs to. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - private: // Required path parameters QString m_itemId; // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class DeleteSubtitleParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The index of the subtitle file. - */ - qint32 index() const; - void setIndex(qint32 newIndex) const; - - -private: - // Required path parameters - QString m_itemId; - qint32 m_index; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetSuggestionsParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief The type. - */ - QStringList type() const; - void setType(QStringList newType) const; - - /** - * @brief Optional. The start index. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief The media types. - */ - QStringList mediaType() const; - void setMediaType(QStringList newMediaType) const; - - /** - * @brief Optional. The limit. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Whether to enable the total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QStringList m_type; - std::optional m_startIndex = std::nullopt; - QStringList m_mediaType; - std::optional m_limit = std::nullopt; - bool m_enableTotalRecordCount; - -}; - -class SyncPlayBufferingParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayJoinGroupParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayLeaveGroupParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayGetGroupsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayMovePlaylistItemParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayCreateGroupParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayNextItemParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayPauseParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayPingParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayPreviousItemParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayQueueParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayReadyParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayRemoveFromPlaylistParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlaySeekParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlaySetIgnoreWaitParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlaySetNewQueueParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlaySetPlaylistItemParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlaySetRepeatModeParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlaySetShuffleModeParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayStopParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class SyncPlayUnpauseParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetEndpointInfoParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetSystemInfoParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPublicSystemInfoParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetServerLogsParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetLogFileParams { -public: - /** - * @brief The name of the log file to get. - */ - QString name() const; - void setName(QString newName) const; - - -private: - // Required path parameters - - // Required query parameters - QString m_name; - - // Optional path parameters - - // Optional query parameters - -}; - -class GetPingSystemParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class PostPingSystemParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class RestartApplicationParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class ShutdownApplicationParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetWakeOnLanInfoParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetUtcTimeParams { -public: - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetTrailersParams { -public: - /** - * @brief Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. - */ - QList years() const; - void setYears(QList newYears) const; - - /** - * @brief Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. - */ - QList videoTypes() const; - void setVideoTypes(QList newVideoTypes) const; - - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. - */ - QStringList tags() const; - void setTags(QStringList newTags) const; - - /** - * @brief Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. - */ - QStringList studios() const; - void setStudios(QStringList newStudios) const; - - /** - * @brief Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. - */ - QStringList studioIds() const; - void setStudioIds(QStringList newStudioIds) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Sort Order - Ascending,Descending. - */ - QString sortOrder() const; - void setSortOrder(QString newSortOrder) const; - - /** - * @brief Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - */ - QString sortBy() const; - void setSortBy(QString newSortBy) const; - - /** - * @brief Optional filter by Series Status. Allows multiple, comma delimited. - */ - QList seriesStatus() const; - void setSeriesStatus(QList newSeriesStatus) const; - - /** - * @brief Optional. Filter based on a search term. - */ - QString searchTerm() const; - void setSearchTerm(QString newSearchTerm) const; - - /** - * @brief When searching within folders, this determines whether or not the search will be recursive. true/false. - */ - std::optional recursive() const; - void setRecursive(std::optional newRecursive) const; - - /** - * @brief Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. - */ - QStringList personTypes() const; - void setPersonTypes(QStringList newPersonTypes) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified person id. - */ - QStringList personIds() const; - void setPersonIds(QStringList newPersonIds) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified person. - */ - QString person() const; - void setPerson(QString newPerson) const; - - /** - * @brief Optional filter by parent index number. - */ - std::optional parentIndexNumber() const; - void setParentIndexNumber(std::optional newParentIndexNumber) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. - */ - QStringList officialRatings() const; - void setOfficialRatings(QStringList newOfficialRatings) const; - - /** - * @brief Optional filter by items whose name is sorted equally or greater than a given input string. - */ - QString nameStartsWithOrGreater() const; - void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater) const; - - /** - * @brief Optional filter by items whose name is sorted equally than a given input string. - */ - QString nameStartsWith() const; - void setNameStartsWith(QString newNameStartsWith) const; - - /** - * @brief Optional filter by items whose name is equally or lesser than a given input string. - */ - QString nameLessThan() const; - void setNameLessThan(QString newNameLessThan) const; - - /** - * @brief Optional. Filter by the minimum width of the item. - */ - std::optional minWidth() const; - void setMinWidth(std::optional newMinWidth) const; - - /** - * @brief Optional. The minimum premiere date. Format = ISO. - */ - QDateTime minPremiereDate() const; - void setMinPremiereDate(QDateTime newMinPremiereDate) const; - - /** - * @brief Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). - */ - QString minOfficialRating() const; - void setMinOfficialRating(QString newMinOfficialRating) const; - - /** - * @brief Optional. Filter by the minimum height of the item. - */ - std::optional minHeight() const; - void setMinHeight(std::optional newMinHeight) const; - - /** - * @brief Optional. The minimum last saved date for the current user. Format = ISO. - */ - QDateTime minDateLastSavedForUser() const; - void setMinDateLastSavedForUser(QDateTime newMinDateLastSavedForUser) const; - - /** - * @brief Optional. The minimum last saved date. Format = ISO. - */ - QDateTime minDateLastSaved() const; - void setMinDateLastSaved(QDateTime newMinDateLastSaved) const; - - /** - * @brief Optional filter by minimum critic rating. - */ - std::optional minCriticRating() const; - void setMinCriticRating(std::optional newMinCriticRating) const; - - /** - * @brief Optional filter by minimum community rating. - */ - std::optional minCommunityRating() const; - void setMinCommunityRating(std::optional newMinCommunityRating) const; - - /** - * @brief Optional filter by MediaType. Allows multiple, comma delimited. - */ - QStringList mediaTypes() const; - void setMediaTypes(QStringList newMediaTypes) const; - - /** - * @brief Optional. Filter by the maximum width of the item. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief Optional. The maximum premiere date. Format = ISO. - */ - QDateTime maxPremiereDate() const; - void setMaxPremiereDate(QDateTime newMaxPremiereDate) const; - - /** - * @brief Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). - */ - QString maxOfficialRating() const; - void setMaxOfficialRating(QString newMaxOfficialRating) const; - - /** - * @brief Optional. Filter by the maximum height of the item. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. - */ - QList locationTypes() const; - void setLocationTypes(QList newLocationTypes) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional filter by items that are unaired episodes or not. - */ - std::optional isUnaired() const; - void setIsUnaired(std::optional newIsUnaired) const; - - /** - * @brief Optional filter by items that are played, or not. - */ - std::optional isPlayed() const; - void setIsPlayed(std::optional newIsPlayed) const; - - /** - * @brief Optional filter by items that are placeholders. - */ - std::optional isPlaceHolder() const; - void setIsPlaceHolder(std::optional newIsPlaceHolder) const; - - /** - * @brief Optional filter by items that are missing episodes or not. - */ - std::optional isMissing() const; - void setIsMissing(std::optional newIsMissing) const; - - /** - * @brief Optional filter by items that are locked. - */ - std::optional isLocked() const; - void setIsLocked(std::optional newIsLocked) const; - - /** - * @brief Optional filter by items that are HD or not. - */ - std::optional isHd() const; - void setIsHd(std::optional newIsHd) const; - - /** - * @brief Optional filter by items that are marked as favorite, or not. - */ - std::optional isFavorite() const; - void setIsFavorite(std::optional newIsFavorite) const; - - /** - * @brief Optional filter by items that are 4K or not. - */ - std::optional is4K() const; - void setIs4K(std::optional newIs4K) const; - - /** - * @brief Optional filter by items that are 3D, or not. - */ - std::optional is3D() const; - void setIs3D(std::optional newIs3D) const; - - /** - * @brief Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - */ - QList imageTypes() const; - void setImageTypes(QList newImageTypes) const; - - /** - * @brief Optional, the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. - */ - QStringList ids() const; - void setIds(QStringList newIds) const; - - /** - * @brief Optional filter by items that have a tvdb id or not. - */ - std::optional hasTvdbId() const; - void setHasTvdbId(std::optional newHasTvdbId) const; - - /** - * @brief Optional filter by items with trailers. - */ - std::optional hasTrailer() const; - void setHasTrailer(std::optional newHasTrailer) const; - - /** - * @brief Optional filter by items that have a tmdb id or not. - */ - std::optional hasTmdbId() const; - void setHasTmdbId(std::optional newHasTmdbId) const; - - /** - * @brief Optional filter by items with theme videos. - */ - std::optional hasThemeVideo() const; - void setHasThemeVideo(std::optional newHasThemeVideo) const; - - /** - * @brief Optional filter by items with theme songs. - */ - std::optional hasThemeSong() const; - void setHasThemeSong(std::optional newHasThemeSong) const; - - /** - * @brief Optional filter by items with subtitles. - */ - std::optional hasSubtitles() const; - void setHasSubtitles(std::optional newHasSubtitles) const; - - /** - * @brief Optional filter by items with special features. - */ - std::optional hasSpecialFeature() const; - void setHasSpecialFeature(std::optional newHasSpecialFeature) const; - - /** - * @brief Optional filter by items that have or do not have a parental rating. - */ - std::optional hasParentalRating() const; - void setHasParentalRating(std::optional newHasParentalRating) const; - - /** - * @brief Optional filter by items that have an overview or not. - */ - std::optional hasOverview() const; - void setHasOverview(std::optional newHasOverview) const; - - /** - * @brief Optional filter by items that have official ratings. - */ - std::optional hasOfficialRating() const; - void setHasOfficialRating(std::optional newHasOfficialRating) const; - - /** - * @brief Optional filter by items that have an imdb id or not. - */ - std::optional hasImdbId() const; - void setHasImdbId(std::optional newHasImdbId) const; - - /** - * @brief Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. - */ - QStringList genres() const; - void setGenres(QStringList newGenres) const; - - /** - * @brief Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. - */ - QStringList genreIds() const; - void setGenreIds(QStringList newGenreIds) const; - - /** - * @brief Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. - */ - QList filters() const; - void setFilters(QList newFilters) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. - */ - QList excludeLocationTypes() const; - void setExcludeLocationTypes(QList newExcludeLocationTypes) const; - - /** - * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - /** - * @brief Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. - */ - QStringList excludeItemIds() const; - void setExcludeItemIds(QStringList newExcludeItemIds) const; - - /** - * @brief Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. - */ - QStringList excludeArtistIds() const; - void setExcludeArtistIds(QStringList newExcludeArtistIds) const; - - /** - * @brief Optional, include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Enable the total record count. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional, include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. - */ - QStringList contributingArtistIds() const; - void setContributingArtistIds(QStringList newContributingArtistIds) const; - - /** - * @brief Whether or not to hide items behind their boxsets. - */ - std::optional collapseBoxSetItems() const; - void setCollapseBoxSetItems(std::optional newCollapseBoxSetItems) const; - - /** - * @brief Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. - */ - QStringList artists() const; - void setArtists(QStringList newArtists) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified artist id. - */ - QStringList artistIds() const; - void setArtistIds(QStringList newArtistIds) const; - - /** - * @brief Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. - */ - QStringList albums() const; - void setAlbums(QStringList newAlbums) const; - - /** - * @brief Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. - */ - QStringList albumIds() const; - void setAlbumIds(QStringList newAlbumIds) const; - - /** - * @brief Optional. If specified, results will be filtered to include only those containing the specified album artist id. - */ - QStringList albumArtistIds() const; - void setAlbumArtistIds(QStringList newAlbumArtistIds) const; - - /** - * @brief Optional. Return items that are siblings of a supplied item. - */ - QString adjacentTo() const; - void setAdjacentTo(QString newAdjacentTo) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QList m_years; - QList m_videoTypes; - QString m_userId; - QStringList m_tags; - QStringList m_studios; - QStringList m_studioIds; - std::optional m_startIndex = std::nullopt; - QString m_sortOrder; - QString m_sortBy; - QList m_seriesStatus; - QString m_searchTerm; - std::optional m_recursive = std::nullopt; - QStringList m_personTypes; - QStringList m_personIds; - QString m_person; - std::optional m_parentIndexNumber = std::nullopt; - QString m_parentId; - QStringList m_officialRatings; - QString m_nameStartsWithOrGreater; - QString m_nameStartsWith; - QString m_nameLessThan; - std::optional m_minWidth = std::nullopt; - QDateTime m_minPremiereDate; - QString m_minOfficialRating; - std::optional m_minHeight = std::nullopt; - QDateTime m_minDateLastSavedForUser; - QDateTime m_minDateLastSaved; - std::optional m_minCriticRating = std::nullopt; - std::optional m_minCommunityRating = std::nullopt; - QStringList m_mediaTypes; - std::optional m_maxWidth = std::nullopt; - QDateTime m_maxPremiereDate; - QString m_maxOfficialRating; - std::optional m_maxHeight = std::nullopt; - QList m_locationTypes; - std::optional m_limit = std::nullopt; - std::optional m_isUnaired = std::nullopt; - std::optional m_isPlayed = std::nullopt; - std::optional m_isPlaceHolder = std::nullopt; - std::optional m_isMissing = std::nullopt; - std::optional m_isLocked = std::nullopt; - std::optional m_isHd = std::nullopt; - std::optional m_isFavorite = std::nullopt; - std::optional m_is4K = std::nullopt; - std::optional m_is3D = std::nullopt; - QList m_imageTypes; - std::optional m_imageTypeLimit = std::nullopt; - QStringList m_ids; - std::optional m_hasTvdbId = std::nullopt; - std::optional m_hasTrailer = std::nullopt; - std::optional m_hasTmdbId = std::nullopt; - std::optional m_hasThemeVideo = std::nullopt; - std::optional m_hasThemeSong = std::nullopt; - std::optional m_hasSubtitles = std::nullopt; - std::optional m_hasSpecialFeature = std::nullopt; - std::optional m_hasParentalRating = std::nullopt; - std::optional m_hasOverview = std::nullopt; - std::optional m_hasOfficialRating = std::nullopt; - std::optional m_hasImdbId = std::nullopt; - QStringList m_genres; - QStringList m_genreIds; - QList m_filters; - QList m_fields; - QList m_excludeLocationTypes; - QStringList m_excludeItemTypes; - QStringList m_excludeItemIds; - QStringList m_excludeArtistIds; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - QStringList m_contributingArtistIds; - std::optional m_collapseBoxSetItems = std::nullopt; - QStringList m_artists; - QStringList m_artistIds; - QStringList m_albums; - QStringList m_albumIds; - QStringList m_albumArtistIds; - QString m_adjacentTo; - -}; - -class GetEpisodesParams { -public: - /** - * @brief The series id. - */ - QString seriesId() const; - void setSeriesId(QString newSeriesId) const; - - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Skip through the list until a given item is found. - */ - QString startItemId() const; - void setStartItemId(QString newStartItemId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - */ - QString sortBy() const; - void setSortBy(QString newSortBy) const; - - /** - * @brief Optional. Filter by season id. - */ - QString seasonId() const; - void setSeasonId(QString newSeasonId) const; - - /** - * @brief Optional filter by season number. - */ - std::optional season() const; - void setSeason(std::optional newSeason) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. Filter by items that are missing episodes or not. - */ - std::optional isMissing() const; - void setIsMissing(std::optional newIsMissing) const; - - /** - * @brief Optional, the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional, include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief Optional. Return items that are siblings of a supplied item. - */ - QString adjacentTo() const; - void setAdjacentTo(QString newAdjacentTo) const; - - -private: - // Required path parameters - QString m_seriesId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - QString m_startItemId; - std::optional m_startIndex = std::nullopt; - QString m_sortBy; - QString m_seasonId; - std::optional m_season = std::nullopt; - std::optional m_limit = std::nullopt; - std::optional m_isMissing = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - QString m_adjacentTo; - -}; - -class GetSeasonsParams { -public: - /** - * @brief The series id. - */ - QString seriesId() const; - void setSeriesId(QString newSeriesId) const; - - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. Filter by special season. - */ - std::optional isSpecialSeason() const; - void setIsSpecialSeason(std::optional newIsSpecialSeason) const; - - /** - * @brief Optional. Filter by items that are missing episodes or not. - */ - std::optional isMissing() const; - void setIsMissing(std::optional newIsMissing) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief Optional. Return items that are siblings of a supplied item. - */ - QString adjacentTo() const; - void setAdjacentTo(QString newAdjacentTo) const; - - -private: - // Required path parameters - QString m_seriesId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_isSpecialSeason = std::nullopt; - std::optional m_isMissing = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - QString m_adjacentTo; - -}; - -class GetNextUpParams { -public: - /** - * @brief The user id of the user to get the next up episodes for. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. Filter by series id. - */ - QString seriesId() const; - void setSeriesId(QString newSeriesId) const; - - /** - * @brief Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Whether to enable the total records count. Defaults to true. - */ - bool enableTotalRecordCount() const; - void setEnableTotalRecordCount(bool newEnableTotalRecordCount) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImges() const; - void setEnableImges(std::optional newEnableImges) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - /** - * @brief Whether to disable sending the first episode in a series as next up. - */ - bool disableFirstEpisode() const; - void setDisableFirstEpisode(bool newDisableFirstEpisode) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_startIndex = std::nullopt; - QString m_seriesId; - QString m_parentId; - std::optional m_limit = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - bool m_enableTotalRecordCount; - std::optional m_enableImges = std::nullopt; - QList m_enableImageTypes; - bool m_disableFirstEpisode; - -}; - -class GetUpcomingEpisodesParams { -public: - /** - * @brief The user id of the user to get the upcoming episodes for. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImges() const; - void setEnableImges(std::optional newEnableImges) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_startIndex = std::nullopt; - QString m_parentId; - std::optional m_limit = std::nullopt; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImges = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetUniversalAudioStreamParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The transcoding protocol. - */ - QString transcodingProtocol() const; - void setTranscodingProtocol(QString newTranscodingProtocol) const; - - /** - * @brief Optional. The container to transcode to. - */ - QString transcodingContainer() const; - void setTranscodingContainer(QString newTranscodingContainer) const; - - /** - * @brief Optional. The number of how many audio channels to transcode to. - */ - std::optional transcodingAudioChannels() const; - void setTranscodingAudioChannels(std::optional newTranscodingAudioChannels) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum streaming bitrate. - */ - std::optional maxStreamingBitrate() const; - void setMaxStreamingBitrate(std::optional newMaxStreamingBitrate) const; - - /** - * @brief Optional. The maximum audio sample rate. - */ - std::optional maxAudioSampleRate() const; - void setMaxAudioSampleRate(std::optional newMaxAudioSampleRate) const; - - /** - * @brief Optional. The maximum number of audio channels. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief Optional. Whether to enable remote media. - */ - std::optional enableRemoteMedia() const; - void setEnableRemoteMedia(std::optional newEnableRemoteMedia) const; - - /** - * @brief Whether to enable redirection. Defaults to true. - */ - bool enableRedirection() const; - void setEnableRedirection(bool newEnableRedirection) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. The audio container. - */ - QStringList container() const; - void setContainer(QStringList newContainer) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - bool breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The audio codec to transcode to. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - QString m_transcodingProtocol; - QString m_transcodingContainer; - std::optional m_transcodingAudioChannels = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxStreamingBitrate = std::nullopt; - std::optional m_maxAudioSampleRate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - std::optional m_enableRemoteMedia = std::nullopt; - bool m_enableRedirection; - QString m_deviceId; - QStringList m_container; - bool m_breakOnNonKeyFrames; - QString m_audioCodec; - std::optional m_audioBitRate = std::nullopt; - -}; - -class HeadUniversalAudioStreamParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Optional. The transcoding protocol. - */ - QString transcodingProtocol() const; - void setTranscodingProtocol(QString newTranscodingProtocol) const; - - /** - * @brief Optional. The container to transcode to. - */ - QString transcodingContainer() const; - void setTranscodingContainer(QString newTranscodingContainer) const; - - /** - * @brief Optional. The number of how many audio channels to transcode to. - */ - std::optional transcodingAudioChannels() const; - void setTranscodingAudioChannels(std::optional newTranscodingAudioChannels) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum streaming bitrate. - */ - std::optional maxStreamingBitrate() const; - void setMaxStreamingBitrate(std::optional newMaxStreamingBitrate) const; - - /** - * @brief Optional. The maximum audio sample rate. - */ - std::optional maxAudioSampleRate() const; - void setMaxAudioSampleRate(std::optional newMaxAudioSampleRate) const; - - /** - * @brief Optional. The maximum number of audio channels. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief Optional. Whether to enable remote media. - */ - std::optional enableRemoteMedia() const; - void setEnableRemoteMedia(std::optional newEnableRemoteMedia) const; - - /** - * @brief Whether to enable redirection. Defaults to true. - */ - bool enableRedirection() const; - void setEnableRedirection(bool newEnableRedirection) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. The audio container. - */ - QStringList container() const; - void setContainer(QStringList newContainer) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - bool breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The audio codec to transcode to. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - QString m_transcodingProtocol; - QString m_transcodingContainer; - std::optional m_transcodingAudioChannels = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxStreamingBitrate = std::nullopt; - std::optional m_maxAudioSampleRate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - std::optional m_enableRemoteMedia = std::nullopt; - bool m_enableRedirection; - QString m_deviceId; - QStringList m_container; - bool m_breakOnNonKeyFrames; - QString m_audioCodec; - std::optional m_audioBitRate = std::nullopt; - -}; - -class GetUsersParams { -public: - /** - * @brief Optional filter by IsHidden=true or false. - */ - std::optional isHidden() const; - void setIsHidden(std::optional newIsHidden) const; - - /** - * @brief Optional filter by IsDisabled=true or false. - */ - std::optional isDisabled() const; - void setIsDisabled(std::optional newIsDisabled) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_isHidden = std::nullopt; - std::optional m_isDisabled = std::nullopt; - -}; - -class GetUserByIdParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class DeleteUserParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateUserParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters // Optional query parameters + std::optional m_replaceAllImages = std::nullopt; }; class AuthenticateUserParams { public: + /** * @brief The user id. */ - QString userId() const; - void setUserId(QString newUserId) const; + const QString &userId() const; + void setUserId(QString newUserId); + /** * @brief The password as plain text. */ - QString pw() const; - void setPw(QString newPw) const; + const QString &pw() const; + void setPw(QString newPw); + /** * @brief The password sha1-hash. */ - QString password() const; - void setPassword(QString newPassword) const; - - + const QString &password() const; + void setPassword(QString newPassword); + bool passwordNull() const; + void setPasswordNull(); + + private: // Required path parameters QString m_userId; // Required query parameters QString m_pw; - - // Optional path parameters // Optional query parameters QString m_password; }; -class UpdateUserConfigurationParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateUserEasyPasswordParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateUserPasswordParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class UpdateUserPolicyParams { -public: - /** - * @brief The user id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - class AuthenticateUserByNameParams { public: @@ -20712,8 +373,6 @@ private: // Required path parameters // Required query parameters - - // Optional path parameters // Optional query parameters @@ -20726,50 +385,372 @@ private: // Required path parameters // Required query parameters - - // Optional path parameters // Optional query parameters }; -class ForgotPasswordParams { +class AuthorizeParams { +public: + + /** + * @brief Quick connect code to authorize. + */ + const QString &code() const; + void setCode(QString newCode); + + +private: + // Required path parameters + + // Required query parameters + QString m_code; + + // Optional query parameters + +}; + +class AvailableParams { +public: + + /** + * @brief New MediaBrowser.Model.QuickConnect.QuickConnectState. + */ + const QuickConnectState &status() const; + void setStatus(QuickConnectState newStatus); + bool statusNull() const; + void setStatusNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QuickConnectState m_status; + +}; + +class CancelPackageInstallationParams { +public: + + /** + * @brief Installation Id. + */ + const QString &packageId() const; + void setPackageId(QString newPackageId); + + +private: + // Required path parameters + QString m_packageId; + + // Required query parameters + + // Optional query parameters + +}; + +class CancelSeriesTimerParams { +public: + + /** + * @brief Timer id. + */ + const QString &timerId() const; + void setTimerId(QString newTimerId); + + +private: + // Required path parameters + QString m_timerId; + + // Required query parameters + + // Optional query parameters + +}; + +class CancelTimerParams { +public: + + /** + * @brief Timer id. + */ + const QString &timerId() const; + void setTimerId(QString newTimerId); + + +private: + // Required path parameters + QString m_timerId; + + // Required query parameters + + // Optional query parameters + +}; + +class CloseLiveStreamParams { +public: + + /** + * @brief The livestream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + + +private: + // Required path parameters + + // Required query parameters + QString m_liveStreamId; + + // Optional query parameters + +}; + +class CompleteWizardParams { public: private: // Required path parameters // Required query parameters - - // Optional path parameters // Optional query parameters }; -class ForgotPasswordPinParams { +class ConnectParams { +public: + + /** + * @brief Secret previously returned from the Initiate endpoint. + */ + const QString &secret() const; + void setSecret(QString newSecret); + + +private: + // Required path parameters + + // Required query parameters + QString m_secret; + + // Optional query parameters + +}; + +class CreateAdminNotificationParams { +public: + + /** + * @brief The description of the notification. + */ + const QString &description() const; + void setDescription(QString newDescription); + bool descriptionNull() const; + void setDescriptionNull(); + + + /** + * @brief The level of the notification. + */ + const NotificationLevel &level() const; + void setLevel(NotificationLevel newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The name of the notification. + */ + const QString &name() const; + void setName(QString newName); + bool nameNull() const; + void setNameNull(); + + + /** + * @brief The URL of the notification. + */ + const QString &url() const; + void setUrl(QString newUrl); + bool urlNull() const; + void setUrlNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_description; + NotificationLevel m_level; + QString m_name; + QString m_url; + +}; + +class CreateCollectionParams { +public: + + /** + * @brief Item Ids to add to the collection. + */ + const QStringList &ids() const; + void setIds(QStringList newIds); + bool idsNull() const; + void setIdsNull(); + + + /** + * @brief Whether or not to lock the new collection. + */ + const bool &isLocked() const; + void setIsLocked(bool newIsLocked); + bool isLockedNull() const; + void setIsLockedNull(); + + + /** + * @brief The name of the collection. + */ + const QString &name() const; + void setName(QString newName); + bool nameNull() const; + void setNameNull(); + + + /** + * @brief Optional. Create the collection within a specific folder. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QStringList m_ids; + std::optional m_isLocked = std::nullopt; + QString m_name; + QString m_parentId; + +}; + +class CreateKeyParams { +public: + + /** + * @brief Name of the app using the authentication key. + */ + const QString &app() const; + void setApp(QString newApp); + + +private: + // Required path parameters + + // Required query parameters + QString m_app; + + // Optional query parameters + +}; + +class CreatePlaylistParams { +public: + + /** + * @brief The item ids. + */ + const QStringList &ids() const; + void setIds(QStringList newIds); + bool idsNull() const; + void setIdsNull(); + + + /** + * @brief The media type. + */ + const QString &mediaType() const; + void setMediaType(QString newMediaType); + bool mediaTypeNull() const; + void setMediaTypeNull(); + + + /** + * @brief The playlist name. + */ + const QString &name() const; + void setName(QString newName); + bool nameNull() const; + void setNameNull(); + + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QStringList m_ids; + QString m_mediaType; + QString m_name; + QString m_userId; + +}; + +class CreateProfileParams { public: private: // Required path parameters // Required query parameters - - // Optional path parameters // Optional query parameters }; -class GetCurrentUserParams { +class CreateSeriesTimerParams { public: private: // Required path parameters // Required query parameters + + // Optional query parameters + +}; + +class CreateTimerParams { +public: + +private: + // Required path parameters - // Optional path parameters + // Required query parameters // Optional query parameters @@ -20782,8 +763,13262 @@ private: // Required path parameters // Required query parameters + + // Optional query parameters + +}; + +class DeauthorizeParams { +public: + +private: + // Required path parameters - // Optional path parameters + // Required query parameters + + // Optional query parameters + +}; + +class DeleteAlternateSourcesParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class DeleteDeviceParams { +public: + + /** + * @brief Device Id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + + +private: + // Required path parameters + + // Required query parameters + QString m_jellyfinId; + + // Optional query parameters + +}; + +class DeleteItemParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class DeleteItemImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_imageIndex = std::nullopt; + +}; + +class DeleteItemImageByIndexParams { +public: + + /** + * @brief The image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class DeleteItemsParams { +public: + + /** + * @brief The item ids. + */ + const QStringList &ids() const; + void setIds(QStringList newIds); + bool idsNull() const; + void setIdsNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QStringList m_ids; + +}; + +class DeleteListingProviderParams { +public: + + /** + * @brief Listing provider id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + bool jellyfinIdNull() const; + void setJellyfinIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_jellyfinId; + +}; + +class DeleteProfileParams { +public: + + /** + * @brief Profile id. + */ + const QString &profileId() const; + void setProfileId(QString newProfileId); + + +private: + // Required path parameters + QString m_profileId; + + // Required query parameters + + // Optional query parameters + +}; + +class DeleteRecordingParams { +public: + + /** + * @brief Recording id. + */ + const QString &recordingId() const; + void setRecordingId(QString newRecordingId); + + +private: + // Required path parameters + QString m_recordingId; + + // Required query parameters + + // Optional query parameters + +}; + +class DeleteSubtitleParams { +public: + + /** + * @brief The index of the subtitle file. + */ + const qint32 &index() const; + void setIndex(qint32 newIndex); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + qint32 m_index; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class DeleteTunerHostParams { +public: + + /** + * @brief Tuner host id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + bool jellyfinIdNull() const; + void setJellyfinIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_jellyfinId; + +}; + +class DeleteUserParams { +public: + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class DeleteUserImageParams { +public: + + /** + * @brief (Unused) Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief User Id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief (Unused) Image index. + */ + const qint32 &index() const; + void setIndex(qint32 newIndex); + bool indexNull() const; + void setIndexNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_userId; + + // Required query parameters + + // Optional query parameters + std::optional m_index = std::nullopt; + +}; + +class DeleteUserImageByIndexParams { +public: + + /** + * @brief (Unused) Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief (Unused) Image index. + */ + const qint32 &index() const; + void setIndex(qint32 newIndex); + + + /** + * @brief User Id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + ImageType m_imageType; + qint32 m_index; + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class DeleteUserItemRatingParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class DisablePluginParams { +public: + + /** + * @brief Plugin id. + */ + const QString &pluginId() const; + void setPluginId(QString newPluginId); + + + /** + * @brief Plugin version. + */ + const QSharedPointer &version() const; + void setVersion(QSharedPointer newVersion); + + +private: + // Required path parameters + QString m_pluginId; + QSharedPointer m_version; + + // Required query parameters + + // Optional query parameters + +}; + +class DiscoverTunersParams { +public: + + /** + * @brief Only discover new tuners. + */ + const bool &newDevicesOnly() const; + void setNewDevicesOnly(bool newNewDevicesOnly); + bool newDevicesOnlyNull() const; + void setNewDevicesOnlyNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_newDevicesOnly = std::nullopt; + +}; + +class DiscvoverTunersParams { +public: + + /** + * @brief Only discover new tuners. + */ + const bool &newDevicesOnly() const; + void setNewDevicesOnly(bool newNewDevicesOnly); + bool newDevicesOnlyNull() const; + void setNewDevicesOnlyNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_newDevicesOnly = std::nullopt; + +}; + +class DisplayContentParams { +public: + + /** + * @brief The session Id. + */ + const QString &sessionId() const; + void setSessionId(QString newSessionId); + + + /** + * @brief The Id of the item. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The name of the item. + */ + const QString &itemName() const; + void setItemName(QString newItemName); + + + /** + * @brief The type of item to browse to. + */ + const QString &itemType() const; + void setItemType(QString newItemType); + + +private: + // Required path parameters + QString m_sessionId; + + // Required query parameters + QString m_itemId; + QString m_itemName; + QString m_itemType; + + // Optional query parameters + +}; + +class DownloadRemoteImageParams { +public: + + /** + * @brief Item Id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The image type. + */ + const ImageType &type() const; + void setType(ImageType newType); + + + /** + * @brief The image url. + */ + const QString &imageUrl() const; + void setImageUrl(QString newImageUrl); + bool imageUrlNull() const; + void setImageUrlNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + ImageType m_type; + + // Optional query parameters + QString m_imageUrl; + +}; + +class DownloadRemoteSubtitlesParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The subtitle id. + */ + const QString &subtitleId() const; + void setSubtitleId(QString newSubtitleId); + + +private: + // Required path parameters + QString m_itemId; + QString m_subtitleId; + + // Required query parameters + + // Optional query parameters + +}; + +class EnablePluginParams { +public: + + /** + * @brief Plugin id. + */ + const QString &pluginId() const; + void setPluginId(QString newPluginId); + + + /** + * @brief Plugin version. + */ + const QSharedPointer &version() const; + void setVersion(QSharedPointer newVersion); + + +private: + // Required path parameters + QString m_pluginId; + QSharedPointer m_version; + + // Required query parameters + + // Optional query parameters + +}; + +class ForgotPasswordParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class ForgotPasswordPinParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetParams { +public: + + /** + * @brief The search term to filter on. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + + + /** + * @brief If specified, results with these item types are filtered out. This allows multiple, comma delimeted. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional filter whether to include artists. + */ + const bool &includeArtists() const; + void setIncludeArtists(bool newIncludeArtists); + bool includeArtistsNull() const; + void setIncludeArtistsNull(); + + + /** + * @brief Optional filter whether to include genres. + */ + const bool &includeGenres() const; + void setIncludeGenres(bool newIncludeGenres); + bool includeGenresNull() const; + void setIncludeGenresNull(); + + + /** + * @brief If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional filter whether to include media. + */ + const bool &includeMedia() const; + void setIncludeMedia(bool newIncludeMedia); + bool includeMediaNull() const; + void setIncludeMediaNull(); + + + /** + * @brief Optional filter whether to include people. + */ + const bool &includePeople() const; + void setIncludePeople(bool newIncludePeople); + bool includePeopleNull() const; + void setIncludePeopleNull(); + + + /** + * @brief Optional filter whether to include studios. + */ + const bool &includeStudios() const; + void setIncludeStudios(bool newIncludeStudios); + bool includeStudiosNull() const; + void setIncludeStudiosNull(); + + + /** + * @brief Optional filter for kids. + */ + const bool &isKids() const; + void setIsKids(bool newIsKids); + bool isKidsNull() const; + void setIsKidsNull(); + + + /** + * @brief Optional filter for movies. + */ + const bool &isMovie() const; + void setIsMovie(bool newIsMovie); + bool isMovieNull() const; + void setIsMovieNull(); + + + /** + * @brief Optional filter for news. + */ + const bool &isNews() const; + void setIsNews(bool newIsNews); + bool isNewsNull() const; + void setIsNewsNull(); + + + /** + * @brief Optional filter for series. + */ + const bool &isSeries() const; + void setIsSeries(bool newIsSeries); + bool isSeriesNull() const; + void setIsSeriesNull(); + + + /** + * @brief Optional filter for sports. + */ + const bool &isSports() const; + void setIsSports(bool newIsSports); + bool isSportsNull() const; + void setIsSportsNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. + */ + const QStringList &mediaTypes() const; + void setMediaTypes(QStringList newMediaTypes); + bool mediaTypesNull() const; + void setMediaTypesNull(); + + + /** + * @brief If specified, only children of the parent are returned. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. Supply a user id to search within a user's library or omit to search all. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + QString m_searchTerm; + + // Optional query parameters + QStringList m_excludeItemTypes; + std::optional m_includeArtists = std::nullopt; + std::optional m_includeGenres = std::nullopt; + QStringList m_includeItemTypes; + std::optional m_includeMedia = std::nullopt; + std::optional m_includePeople = std::nullopt; + std::optional m_includeStudios = std::nullopt; + std::optional m_isKids = std::nullopt; + std::optional m_isMovie = std::nullopt; + std::optional m_isNews = std::nullopt; + std::optional m_isSeries = std::nullopt; + std::optional m_isSports = std::nullopt; + std::optional m_limit = std::nullopt; + QStringList m_mediaTypes; + QString m_parentId; + std::optional m_startIndex = std::nullopt; + QString m_userId; + +}; + +class GetAdditionalPartParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetAlbumArtistsParams { +public: + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional, include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional, include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. Specify additional filters to apply. + */ + const QList &filters() const; + void setFilters(QList newFilters); + bool filtersNull() const; + void setFiltersNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. + */ + const QStringList &genreIds() const; + void setGenreIds(QStringList newGenreIds); + bool genreIdsNull() const; + void setGenreIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. + */ + const QStringList &genres() const; + void setGenres(QStringList newGenres); + bool genresNull() const; + void setGenresNull(); + + + /** + * @brief Optional, the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional filter by items that are marked as favorite, or not. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional filter by MediaType. Allows multiple, comma delimited. + */ + const QStringList &mediaTypes() const; + void setMediaTypes(QStringList newMediaTypes); + bool mediaTypesNull() const; + void setMediaTypesNull(); + + + /** + * @brief Optional filter by minimum community rating. + */ + const double &minCommunityRating() const; + void setMinCommunityRating(double newMinCommunityRating); + bool minCommunityRatingNull() const; + void setMinCommunityRatingNull(); + + + /** + * @brief Optional filter by items whose name is equally or lesser than a given input string. + */ + const QString &nameLessThan() const; + void setNameLessThan(QString newNameLessThan); + bool nameLessThanNull() const; + void setNameLessThanNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally than a given input string. + */ + const QString &nameStartsWith() const; + void setNameStartsWith(QString newNameStartsWith); + bool nameStartsWithNull() const; + void setNameStartsWithNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally or greater than a given input string. + */ + const QString &nameStartsWithOrGreater() const; + void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater); + bool nameStartsWithOrGreaterNull() const; + void setNameStartsWithOrGreaterNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. + */ + const QStringList &officialRatings() const; + void setOfficialRatings(QStringList newOfficialRatings); + bool officialRatingsNull() const; + void setOfficialRatingsNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified person. + */ + const QString &person() const; + void setPerson(QString newPerson); + bool personNull() const; + void setPersonNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified person ids. + */ + const QStringList &personIds() const; + void setPersonIds(QStringList newPersonIds); + bool personIdsNull() const; + void setPersonIdsNull(); + + + /** + * @brief Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. + */ + const QStringList &personTypes() const; + void setPersonTypes(QStringList newPersonTypes); + bool personTypesNull() const; + void setPersonTypesNull(); + + + /** + * @brief Optional. Search term. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + bool searchTermNull() const; + void setSearchTermNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. + */ + const QStringList &studioIds() const; + void setStudioIds(QStringList newStudioIds); + bool studioIdsNull() const; + void setStudioIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. + */ + const QStringList &studios() const; + void setStudios(QStringList newStudios); + bool studiosNull() const; + void setStudiosNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. + */ + const QStringList &tags() const; + void setTags(QStringList newTags); + bool tagsNull() const; + void setTagsNull(); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. + */ + const QList &years() const; + void setYears(QList newYears); + bool yearsNull() const; + void setYearsNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QStringList m_excludeItemTypes; + QList m_fields; + QList m_filters; + QStringList m_genreIds; + QStringList m_genres; + std::optional m_imageTypeLimit = std::nullopt; + QStringList m_includeItemTypes; + std::optional m_isFavorite = std::nullopt; + std::optional m_limit = std::nullopt; + QStringList m_mediaTypes; + std::optional m_minCommunityRating = std::nullopt; + QString m_nameLessThan; + QString m_nameStartsWith; + QString m_nameStartsWithOrGreater; + QStringList m_officialRatings; + QString m_parentId; + QString m_person; + QStringList m_personIds; + QStringList m_personTypes; + QString m_searchTerm; + std::optional m_startIndex = std::nullopt; + QStringList m_studioIds; + QStringList m_studios; + QStringList m_tags; + QString m_userId; + QList m_years; + +}; + +class GetAllChannelFeaturesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetAncestorsParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetArtistByNameParams { +public: + + /** + * @brief Studio name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_name; + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetArtistImageParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Artist name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetArtistsParams { +public: + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional, include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional, include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. Specify additional filters to apply. + */ + const QList &filters() const; + void setFilters(QList newFilters); + bool filtersNull() const; + void setFiltersNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. + */ + const QStringList &genreIds() const; + void setGenreIds(QStringList newGenreIds); + bool genreIdsNull() const; + void setGenreIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. + */ + const QStringList &genres() const; + void setGenres(QStringList newGenres); + bool genresNull() const; + void setGenresNull(); + + + /** + * @brief Optional, the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional filter by items that are marked as favorite, or not. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional filter by MediaType. Allows multiple, comma delimited. + */ + const QStringList &mediaTypes() const; + void setMediaTypes(QStringList newMediaTypes); + bool mediaTypesNull() const; + void setMediaTypesNull(); + + + /** + * @brief Optional filter by minimum community rating. + */ + const double &minCommunityRating() const; + void setMinCommunityRating(double newMinCommunityRating); + bool minCommunityRatingNull() const; + void setMinCommunityRatingNull(); + + + /** + * @brief Optional filter by items whose name is equally or lesser than a given input string. + */ + const QString &nameLessThan() const; + void setNameLessThan(QString newNameLessThan); + bool nameLessThanNull() const; + void setNameLessThanNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally than a given input string. + */ + const QString &nameStartsWith() const; + void setNameStartsWith(QString newNameStartsWith); + bool nameStartsWithNull() const; + void setNameStartsWithNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally or greater than a given input string. + */ + const QString &nameStartsWithOrGreater() const; + void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater); + bool nameStartsWithOrGreaterNull() const; + void setNameStartsWithOrGreaterNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. + */ + const QStringList &officialRatings() const; + void setOfficialRatings(QStringList newOfficialRatings); + bool officialRatingsNull() const; + void setOfficialRatingsNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified person. + */ + const QString &person() const; + void setPerson(QString newPerson); + bool personNull() const; + void setPersonNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified person ids. + */ + const QStringList &personIds() const; + void setPersonIds(QStringList newPersonIds); + bool personIdsNull() const; + void setPersonIdsNull(); + + + /** + * @brief Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. + */ + const QStringList &personTypes() const; + void setPersonTypes(QStringList newPersonTypes); + bool personTypesNull() const; + void setPersonTypesNull(); + + + /** + * @brief Optional. Search term. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + bool searchTermNull() const; + void setSearchTermNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. + */ + const QStringList &studioIds() const; + void setStudioIds(QStringList newStudioIds); + bool studioIdsNull() const; + void setStudioIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. + */ + const QStringList &studios() const; + void setStudios(QStringList newStudios); + bool studiosNull() const; + void setStudiosNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. + */ + const QStringList &tags() const; + void setTags(QStringList newTags); + bool tagsNull() const; + void setTagsNull(); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. + */ + const QList &years() const; + void setYears(QList newYears); + bool yearsNull() const; + void setYearsNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QStringList m_excludeItemTypes; + QList m_fields; + QList m_filters; + QStringList m_genreIds; + QStringList m_genres; + std::optional m_imageTypeLimit = std::nullopt; + QStringList m_includeItemTypes; + std::optional m_isFavorite = std::nullopt; + std::optional m_limit = std::nullopt; + QStringList m_mediaTypes; + std::optional m_minCommunityRating = std::nullopt; + QString m_nameLessThan; + QString m_nameStartsWith; + QString m_nameStartsWithOrGreater; + QStringList m_officialRatings; + QString m_parentId; + QString m_person; + QStringList m_personIds; + QStringList m_personTypes; + QString m_searchTerm; + std::optional m_startIndex = std::nullopt; + QStringList m_studioIds; + QStringList m_studios; + QStringList m_tags; + QString m_userId; + QList m_years; + +}; + +class GetAttachmentParams { +public: + + /** + * @brief Attachment Index. + */ + const qint32 &index() const; + void setIndex(qint32 newIndex); + + + /** + * @brief Media Source ID. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + + + /** + * @brief Video ID. + */ + const QString &videoId() const; + void setVideoId(QString newVideoId); + + +private: + // Required path parameters + qint32 m_index; + QString m_mediaSourceId; + QString m_videoId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetAudioStreamParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief The audio container. + */ + const QString &container() const; + void setContainer(QString newContainer); + bool containerNull() const; + void setContainerNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + QString m_container; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetAudioStreamByContainerParams { +public: + + /** + * @brief The audio container. + */ + const QString &container() const; + void setContainer(QString newContainer); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamporphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment lenght. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_container; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetAuthProvidersParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetBitrateTestBytesParams { +public: + + /** + * @brief The bitrate. Defaults to 102400. + */ + const qint32 &size() const; + void setSize(qint32 newSize); + bool sizeNull() const; + void setSizeNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_size = std::nullopt; + +}; + +class GetBookRemoteSearchResultsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetBoxSetRemoteSearchResultsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetBrandingCssParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetBrandingCss_2Params { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetBrandingOptionsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetChannelParams { +public: + + /** + * @brief Channel id. + */ + const QString &channelId() const; + void setChannelId(QString newChannelId); + + + /** + * @brief Optional. Attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_channelId; + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetChannelFeaturesParams { +public: + + /** + * @brief Channel id. + */ + const QString &channelId() const; + void setChannelId(QString newChannelId); + + +private: + // Required path parameters + QString m_channelId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetChannelItemsParams { +public: + + /** + * @brief Channel Id. + */ + const QString &channelId() const; + void setChannelId(QString newChannelId); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. Specify additional filters to apply. + */ + const QList &filters() const; + void setFilters(QList newFilters); + bool filtersNull() const; + void setFiltersNull(); + + + /** + * @brief Optional. Folder Id. + */ + const QString &folderId() const; + void setFolderId(QString newFolderId); + bool folderIdNull() const; + void setFolderIdNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + */ + const QString &sortBy() const; + void setSortBy(QString newSortBy); + bool sortByNull() const; + void setSortByNull(); + + + /** + * @brief Optional. Sort Order - Ascending,Descending. + */ + const QString &sortOrder() const; + void setSortOrder(QString newSortOrder); + bool sortOrderNull() const; + void setSortOrderNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. User Id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_channelId; + + // Required query parameters + + // Optional query parameters + QList m_fields; + QList m_filters; + QString m_folderId; + std::optional m_limit = std::nullopt; + QString m_sortBy; + QString m_sortOrder; + std::optional m_startIndex = std::nullopt; + QString m_userId; + +}; + +class GetChannelMappingOptionsParams { +public: + + /** + * @brief Provider id. + */ + const QString &providerId() const; + void setProviderId(QString newProviderId); + bool providerIdNull() const; + void setProviderIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_providerId; + +}; + +class GetChannelsParams { +public: + + /** + * @brief Optional. Filter by channels that are favorite. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. Filter by channels that support getting latest items. + */ + const bool &supportsLatestItems() const; + void setSupportsLatestItems(bool newSupportsLatestItems); + bool supportsLatestItemsNull() const; + void setSupportsLatestItemsNull(); + + + /** + * @brief Optional. Filter by channels that support media deletion. + */ + const bool &supportsMediaDeletion() const; + void setSupportsMediaDeletion(bool newSupportsMediaDeletion); + bool supportsMediaDeletionNull() const; + void setSupportsMediaDeletionNull(); + + + /** + * @brief User Id to filter by. Use System.Guid.Empty to not filter by user. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_isFavorite = std::nullopt; + std::optional m_limit = std::nullopt; + std::optional m_startIndex = std::nullopt; + std::optional m_supportsLatestItems = std::nullopt; + std::optional m_supportsMediaDeletion = std::nullopt; + QString m_userId; + +}; + +class GetConfigurationParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetConfigurationPagesParams { +public: + + /** + * @brief Whether to enable in the main menu. + */ + const bool &enableInMainMenu() const; + void setEnableInMainMenu(bool newEnableInMainMenu); + bool enableInMainMenuNull() const; + void setEnableInMainMenuNull(); + + + /** + * @brief The Jellyfin.Api.Models.ConfigurationPageInfo. + */ + const ConfigurationPageType &pageType() const; + void setPageType(ConfigurationPageType newPageType); + bool pageTypeNull() const; + void setPageTypeNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_enableInMainMenu = std::nullopt; + ConfigurationPageType m_pageType; + +}; + +class GetConnectionManagerParams { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetConnectionManager_2Params { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetConnectionManager_3Params { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetContentDirectoryParams { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetContentDirectory_2Params { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetContentDirectory_3Params { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetCountriesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetCriticReviewsParams { +public: + + /** + * @brief + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetCulturesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetCurrentUserParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetDashboardConfigurationPageParams { +public: + + /** + * @brief The name of the page. + */ + const QString &name() const; + void setName(QString newName); + bool nameNull() const; + void setNameNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_name; + +}; + +class GetDefaultDirectoryBrowserParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetDefaultListingProviderParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetDefaultMetadataOptionsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetDefaultProfileParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetDefaultTimerParams { +public: + + /** + * @brief Optional. To attach default values based on a program. + */ + const QString &programId() const; + void setProgramId(QString newProgramId); + bool programIdNull() const; + void setProgramIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_programId; + +}; + +class GetDescriptionXmlParams { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetDescriptionXml_2Params { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetDeviceInfoParams { +public: + + /** + * @brief Device Id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + + +private: + // Required path parameters + + // Required query parameters + QString m_jellyfinId; + + // Optional query parameters + +}; + +class GetDeviceOptionsParams { +public: + + /** + * @brief Device Id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + + +private: + // Required path parameters + + // Required query parameters + QString m_jellyfinId; + + // Optional query parameters + +}; + +class GetDevicesParams { +public: + + /** + * @brief Gets or sets a value indicating whether [supports synchronize]. + */ + const bool &supportsSync() const; + void setSupportsSync(bool newSupportsSync); + bool supportsSyncNull() const; + void setSupportsSyncNull(); + + + /** + * @brief Gets or sets the user identifier. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_supportsSync = std::nullopt; + QString m_userId; + +}; + +class GetDirectoryContentsParams { +public: + + /** + * @brief The path. + */ + const QString &path() const; + void setPath(QString newPath); + + + /** + * @brief An optional filter to include or exclude folders from the results. true/false. + */ + const bool &includeDirectories() const; + void setIncludeDirectories(bool newIncludeDirectories); + bool includeDirectoriesNull() const; + void setIncludeDirectoriesNull(); + + + /** + * @brief An optional filter to include or exclude files from the results. true/false. + */ + const bool &includeFiles() const; + void setIncludeFiles(bool newIncludeFiles); + bool includeFilesNull() const; + void setIncludeFilesNull(); + + +private: + // Required path parameters + + // Required query parameters + QString m_path; + + // Optional query parameters + std::optional m_includeDirectories = std::nullopt; + std::optional m_includeFiles = std::nullopt; + +}; + +class GetDisplayPreferencesParams { +public: + + /** + * @brief Display preferences id. + */ + const QString &displayPreferencesId() const; + void setDisplayPreferencesId(QString newDisplayPreferencesId); + + + /** + * @brief Client. + */ + const QString &client() const; + void setClient(QString newClient); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_displayPreferencesId; + + // Required query parameters + QString m_client; + QString m_userId; + + // Optional query parameters + +}; + +class GetDownloadParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetDrivesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetEndpointInfoParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetEpisodesParams { +public: + + /** + * @brief The series id. + */ + const QString &seriesId() const; + void setSeriesId(QString newSeriesId); + + + /** + * @brief Optional. Return items that are siblings of a supplied item. + */ + const QString &adjacentTo() const; + void setAdjacentTo(QString newAdjacentTo); + bool adjacentToNull() const; + void setAdjacentToNull(); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional, include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional, the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. Filter by items that are missing episodes or not. + */ + const bool &isMissing() const; + void setIsMissing(bool newIsMissing); + bool isMissingNull() const; + void setIsMissingNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional filter by season number. + */ + const qint32 &season() const; + void setSeason(qint32 newSeason); + bool seasonNull() const; + void setSeasonNull(); + + + /** + * @brief Optional. Filter by season id. + */ + const QString &seasonId() const; + void setSeasonId(QString newSeasonId); + bool seasonIdNull() const; + void setSeasonIdNull(); + + + /** + * @brief Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + */ + const QString &sortBy() const; + void setSortBy(QString newSortBy); + bool sortByNull() const; + void setSortByNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. Skip through the list until a given item is found. + */ + const QString &startItemId() const; + void setStartItemId(QString newStartItemId); + bool startItemIdNull() const; + void setStartItemIdNull(); + + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_seriesId; + + // Required query parameters + + // Optional query parameters + QString m_adjacentTo; + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_isMissing = std::nullopt; + std::optional m_limit = std::nullopt; + std::optional m_season = std::nullopt; + QString m_seasonId; + QString m_sortBy; + std::optional m_startIndex = std::nullopt; + QString m_startItemId; + QString m_userId; + +}; + +class GetExternalIdInfosParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetFallbackFontParams { +public: + + /** + * @brief The name of the fallback font file to get. + */ + const QString &name() const; + void setName(QString newName); + + +private: + // Required path parameters + QString m_name; + + // Required query parameters + + // Optional query parameters + +}; + +class GetFallbackFontListParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetFileParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetFirstUserParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetFirstUser_2Params { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetGeneralImageParams { +public: + + /** + * @brief The name of the image. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Image Type (primary, backdrop, logo, etc). + */ + const QString &type() const; + void setType(QString newType); + + +private: + // Required path parameters + QString m_name; + QString m_type; + + // Required query parameters + + // Optional query parameters + +}; + +class GetGeneralImagesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetGenreParams { +public: + + /** + * @brief The genre name. + */ + const QString &genreName() const; + void setGenreName(QString newGenreName); + + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_genreName; + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetGenreImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Genre name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetGenreImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Genre name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetGenresParams { +public: + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional, include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional, the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional filter by items that are marked as favorite, or not. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional filter by items whose name is equally or lesser than a given input string. + */ + const QString &nameLessThan() const; + void setNameLessThan(QString newNameLessThan); + bool nameLessThanNull() const; + void setNameLessThanNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally than a given input string. + */ + const QString &nameStartsWith() const; + void setNameStartsWith(QString newNameStartsWith); + bool nameStartsWithNull() const; + void setNameStartsWithNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally or greater than a given input string. + */ + const QString &nameStartsWithOrGreater() const; + void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater); + bool nameStartsWithOrGreaterNull() const; + void setNameStartsWithOrGreaterNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief The search term. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + bool searchTermNull() const; + void setSearchTermNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + QStringList m_excludeItemTypes; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + QStringList m_includeItemTypes; + std::optional m_isFavorite = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_nameLessThan; + QString m_nameStartsWith; + QString m_nameStartsWithOrGreater; + QString m_parentId; + QString m_searchTerm; + std::optional m_startIndex = std::nullopt; + QString m_userId; + +}; + +class GetGroupingOptionsParams { +public: + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetGuideInfoParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetHlsAudioSegmentParams { +public: + + /** + * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + */ + const QString &container() const; + void setContainer(QString newContainer); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The playlist id. + */ + const QString &playlistId() const; + void setPlaylistId(QString newPlaylistId); + + + /** + * @brief The segment id. + */ + const qint32 &segmentId() const; + void setSegmentId(qint32 newSegmentId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum streaming bitrate. + */ + const qint32 &maxStreamingBitrate() const; + void setMaxStreamingBitrate(qint32 newMaxStreamingBitrate); + bool maxStreamingBitrateNull() const; + void setMaxStreamingBitrateNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_container; + QString m_itemId; + QString m_playlistId; + qint32 m_segmentId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxStreamingBitrate = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetHlsAudioSegmentLegacyAacParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The segment id. + */ + const QString &segmentId() const; + void setSegmentId(QString newSegmentId); + + +private: + // Required path parameters + QString m_itemId; + QString m_segmentId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetHlsAudioSegmentLegacyMp3Params { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The segment id. + */ + const QString &segmentId() const; + void setSegmentId(QString newSegmentId); + + +private: + // Required path parameters + QString m_itemId; + QString m_segmentId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetHlsPlaylistLegacyParams { +public: + + /** + * @brief The video id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The playlist id. + */ + const QString &playlistId() const; + void setPlaylistId(QString newPlaylistId); + + +private: + // Required path parameters + QString m_itemId; + QString m_playlistId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetHlsVideoSegmentParams { +public: + + /** + * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + */ + const QString &container() const; + void setContainer(QString newContainer); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The playlist id. + */ + const QString &playlistId() const; + void setPlaylistId(QString newPlaylistId); + + + /** + * @brief The segment id. + */ + const qint32 &segmentId() const; + void setSegmentId(qint32 newSegmentId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment lenght. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_container; + QString m_itemId; + QString m_playlistId; + qint32 m_segmentId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetHlsVideoSegmentLegacyParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The playlist id. + */ + const QString &playlistId() const; + void setPlaylistId(QString newPlaylistId); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + + + /** + * @brief The segment id. + */ + const QString &segmentId() const; + void setSegmentId(QString newSegmentId); + + +private: + // Required path parameters + QString m_itemId; + QString m_playlistId; + QString m_segmentContainer; + QString m_segmentId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetIconParams { +public: + + /** + * @brief The icon filename. + */ + const QString &fileName() const; + void setFileName(QString newFileName); + + +private: + // Required path parameters + QString m_fileName; + + // Required query parameters + + // Optional query parameters + +}; + +class GetIconIdParams { +public: + + /** + * @brief The icon filename. + */ + const QString &fileName() const; + void setFileName(QString newFileName); + + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_fileName; + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetInstantMixFromAlbumParams { +public: + + /** + * @brief The item id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_jellyfinId; + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetInstantMixFromArtistsParams { +public: + + /** + * @brief The item id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_jellyfinId; + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetInstantMixFromItemParams { +public: + + /** + * @brief The item id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_jellyfinId; + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetInstantMixFromMusicGenreParams { +public: + + /** + * @brief The genre name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_name; + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetInstantMixFromMusicGenresParams { +public: + + /** + * @brief The item id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_jellyfinId; + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetInstantMixFromPlaylistParams { +public: + + /** + * @brief The item id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_jellyfinId; + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetInstantMixFromSongParams { +public: + + /** + * @brief The item id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_jellyfinId; + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetIntrosParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetItemParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetItemCountsParams { +public: + + /** + * @brief Optional. Get counts of favorite items. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional. Get counts from a specific user's library. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_isFavorite = std::nullopt; + QString m_userId; + +}; + +class GetItemImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetItemImage2Params { +public: + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageFormat m_format; + qint32 m_imageIndex; + ImageType m_imageType; + QString m_itemId; + qint32 m_maxHeight; + qint32 m_maxWidth; + double m_percentPlayed; + QString m_tag; + qint32 m_unplayedCount; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + std::optional m_height = std::nullopt; + std::optional m_quality = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetItemImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetItemImageInfosParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetItemsParams { +public: + + /** + * @brief Optional. Return items that are siblings of a supplied item. + */ + const QString &adjacentTo() const; + void setAdjacentTo(QString newAdjacentTo); + bool adjacentToNull() const; + void setAdjacentToNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified album artist id. + */ + const QStringList &albumArtistIds() const; + void setAlbumArtistIds(QStringList newAlbumArtistIds); + bool albumArtistIdsNull() const; + void setAlbumArtistIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. + */ + const QStringList &albumIds() const; + void setAlbumIds(QStringList newAlbumIds); + bool albumIdsNull() const; + void setAlbumIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. + */ + const QStringList &albums() const; + void setAlbums(QStringList newAlbums); + bool albumsNull() const; + void setAlbumsNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified artist id. + */ + const QStringList &artistIds() const; + void setArtistIds(QStringList newArtistIds); + bool artistIdsNull() const; + void setArtistIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. + */ + const QStringList &artists() const; + void setArtists(QStringList newArtists); + bool artistsNull() const; + void setArtistsNull(); + + + /** + * @brief Whether or not to hide items behind their boxsets. + */ + const bool &collapseBoxSetItems() const; + void setCollapseBoxSetItems(bool newCollapseBoxSetItems); + bool collapseBoxSetItemsNull() const; + void setCollapseBoxSetItemsNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. + */ + const QStringList &contributingArtistIds() const; + void setContributingArtistIds(QStringList newContributingArtistIds); + bool contributingArtistIdsNull() const; + void setContributingArtistIdsNull(); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional, include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Enable the total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional, include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. + */ + const QStringList &excludeArtistIds() const; + void setExcludeArtistIds(QStringList newExcludeArtistIds); + bool excludeArtistIdsNull() const; + void setExcludeArtistIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. + */ + const QStringList &excludeItemIds() const; + void setExcludeItemIds(QStringList newExcludeItemIds); + bool excludeItemIdsNull() const; + void setExcludeItemIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. + */ + const QList &excludeLocationTypes() const; + void setExcludeLocationTypes(QList newExcludeLocationTypes); + bool excludeLocationTypesNull() const; + void setExcludeLocationTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. + */ + const QList &filters() const; + void setFilters(QList newFilters); + bool filtersNull() const; + void setFiltersNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. + */ + const QStringList &genreIds() const; + void setGenreIds(QStringList newGenreIds); + bool genreIdsNull() const; + void setGenreIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. + */ + const QStringList &genres() const; + void setGenres(QStringList newGenres); + bool genresNull() const; + void setGenresNull(); + + + /** + * @brief Optional filter by items that have an imdb id or not. + */ + const bool &hasImdbId() const; + void setHasImdbId(bool newHasImdbId); + bool hasImdbIdNull() const; + void setHasImdbIdNull(); + + + /** + * @brief Optional filter by items that have official ratings. + */ + const bool &hasOfficialRating() const; + void setHasOfficialRating(bool newHasOfficialRating); + bool hasOfficialRatingNull() const; + void setHasOfficialRatingNull(); + + + /** + * @brief Optional filter by items that have an overview or not. + */ + const bool &hasOverview() const; + void setHasOverview(bool newHasOverview); + bool hasOverviewNull() const; + void setHasOverviewNull(); + + + /** + * @brief Optional filter by items that have or do not have a parental rating. + */ + const bool &hasParentalRating() const; + void setHasParentalRating(bool newHasParentalRating); + bool hasParentalRatingNull() const; + void setHasParentalRatingNull(); + + + /** + * @brief Optional filter by items with special features. + */ + const bool &hasSpecialFeature() const; + void setHasSpecialFeature(bool newHasSpecialFeature); + bool hasSpecialFeatureNull() const; + void setHasSpecialFeatureNull(); + + + /** + * @brief Optional filter by items with subtitles. + */ + const bool &hasSubtitles() const; + void setHasSubtitles(bool newHasSubtitles); + bool hasSubtitlesNull() const; + void setHasSubtitlesNull(); + + + /** + * @brief Optional filter by items with theme songs. + */ + const bool &hasThemeSong() const; + void setHasThemeSong(bool newHasThemeSong); + bool hasThemeSongNull() const; + void setHasThemeSongNull(); + + + /** + * @brief Optional filter by items with theme videos. + */ + const bool &hasThemeVideo() const; + void setHasThemeVideo(bool newHasThemeVideo); + bool hasThemeVideoNull() const; + void setHasThemeVideoNull(); + + + /** + * @brief Optional filter by items that have a tmdb id or not. + */ + const bool &hasTmdbId() const; + void setHasTmdbId(bool newHasTmdbId); + bool hasTmdbIdNull() const; + void setHasTmdbIdNull(); + + + /** + * @brief Optional filter by items with trailers. + */ + const bool &hasTrailer() const; + void setHasTrailer(bool newHasTrailer); + bool hasTrailerNull() const; + void setHasTrailerNull(); + + + /** + * @brief Optional filter by items that have a tvdb id or not. + */ + const bool &hasTvdbId() const; + void setHasTvdbId(bool newHasTvdbId); + bool hasTvdbIdNull() const; + void setHasTvdbIdNull(); + + + /** + * @brief Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. + */ + const QStringList &ids() const; + void setIds(QStringList newIds); + bool idsNull() const; + void setIdsNull(); + + + /** + * @brief Optional, the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. + */ + const QList &imageTypes() const; + void setImageTypes(QList newImageTypes); + bool imageTypesNull() const; + void setImageTypesNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional filter by items that are 3D, or not. + */ + const bool &is3D() const; + void setIs3D(bool newIs3D); + bool is3DNull() const; + void setIs3DNull(); + + + /** + * @brief Optional filter by items that are 4K or not. + */ + const bool &is4K() const; + void setIs4K(bool newIs4K); + bool is4KNull() const; + void setIs4KNull(); + + + /** + * @brief Optional filter by items that are marked as favorite, or not. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional filter by items that are HD or not. + */ + const bool &isHd() const; + void setIsHd(bool newIsHd); + bool isHdNull() const; + void setIsHdNull(); + + + /** + * @brief Optional filter by items that are locked. + */ + const bool &isLocked() const; + void setIsLocked(bool newIsLocked); + bool isLockedNull() const; + void setIsLockedNull(); + + + /** + * @brief Optional filter by items that are missing episodes or not. + */ + const bool &isMissing() const; + void setIsMissing(bool newIsMissing); + bool isMissingNull() const; + void setIsMissingNull(); + + + /** + * @brief Optional filter by items that are placeholders. + */ + const bool &isPlaceHolder() const; + void setIsPlaceHolder(bool newIsPlaceHolder); + bool isPlaceHolderNull() const; + void setIsPlaceHolderNull(); + + + /** + * @brief Optional filter by items that are played, or not. + */ + const bool &isPlayed() const; + void setIsPlayed(bool newIsPlayed); + bool isPlayedNull() const; + void setIsPlayedNull(); + + + /** + * @brief Optional filter by items that are unaired episodes or not. + */ + const bool &isUnaired() const; + void setIsUnaired(bool newIsUnaired); + bool isUnairedNull() const; + void setIsUnairedNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. + */ + const QList &locationTypes() const; + void setLocationTypes(QList newLocationTypes); + bool locationTypesNull() const; + void setLocationTypesNull(); + + + /** + * @brief Optional. Filter by the maximum height of the item. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). + */ + const QString &maxOfficialRating() const; + void setMaxOfficialRating(QString newMaxOfficialRating); + bool maxOfficialRatingNull() const; + void setMaxOfficialRatingNull(); + + + /** + * @brief Optional. The maximum premiere date. Format = ISO. + */ + const QDateTime &maxPremiereDate() const; + void setMaxPremiereDate(QDateTime newMaxPremiereDate); + bool maxPremiereDateNull() const; + void setMaxPremiereDateNull(); + + + /** + * @brief Optional. Filter by the maximum width of the item. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional filter by MediaType. Allows multiple, comma delimited. + */ + const QStringList &mediaTypes() const; + void setMediaTypes(QStringList newMediaTypes); + bool mediaTypesNull() const; + void setMediaTypesNull(); + + + /** + * @brief Optional filter by minimum community rating. + */ + const double &minCommunityRating() const; + void setMinCommunityRating(double newMinCommunityRating); + bool minCommunityRatingNull() const; + void setMinCommunityRatingNull(); + + + /** + * @brief Optional filter by minimum critic rating. + */ + const double &minCriticRating() const; + void setMinCriticRating(double newMinCriticRating); + bool minCriticRatingNull() const; + void setMinCriticRatingNull(); + + + /** + * @brief Optional. The minimum last saved date. Format = ISO. + */ + const QDateTime &minDateLastSaved() const; + void setMinDateLastSaved(QDateTime newMinDateLastSaved); + bool minDateLastSavedNull() const; + void setMinDateLastSavedNull(); + + + /** + * @brief Optional. The minimum last saved date for the current user. Format = ISO. + */ + const QDateTime &minDateLastSavedForUser() const; + void setMinDateLastSavedForUser(QDateTime newMinDateLastSavedForUser); + bool minDateLastSavedForUserNull() const; + void setMinDateLastSavedForUserNull(); + + + /** + * @brief Optional. Filter by the minimum height of the item. + */ + const qint32 &minHeight() const; + void setMinHeight(qint32 newMinHeight); + bool minHeightNull() const; + void setMinHeightNull(); + + + /** + * @brief Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). + */ + const QString &minOfficialRating() const; + void setMinOfficialRating(QString newMinOfficialRating); + bool minOfficialRatingNull() const; + void setMinOfficialRatingNull(); + + + /** + * @brief Optional. The minimum premiere date. Format = ISO. + */ + const QDateTime &minPremiereDate() const; + void setMinPremiereDate(QDateTime newMinPremiereDate); + bool minPremiereDateNull() const; + void setMinPremiereDateNull(); + + + /** + * @brief Optional. Filter by the minimum width of the item. + */ + const qint32 &minWidth() const; + void setMinWidth(qint32 newMinWidth); + bool minWidthNull() const; + void setMinWidthNull(); + + + /** + * @brief Optional filter by items whose name is equally or lesser than a given input string. + */ + const QString &nameLessThan() const; + void setNameLessThan(QString newNameLessThan); + bool nameLessThanNull() const; + void setNameLessThanNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally than a given input string. + */ + const QString &nameStartsWith() const; + void setNameStartsWith(QString newNameStartsWith); + bool nameStartsWithNull() const; + void setNameStartsWithNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally or greater than a given input string. + */ + const QString &nameStartsWithOrGreater() const; + void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater); + bool nameStartsWithOrGreaterNull() const; + void setNameStartsWithOrGreaterNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. + */ + const QStringList &officialRatings() const; + void setOfficialRatings(QStringList newOfficialRatings); + bool officialRatingsNull() const; + void setOfficialRatingsNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional filter by parent index number. + */ + const qint32 &parentIndexNumber() const; + void setParentIndexNumber(qint32 newParentIndexNumber); + bool parentIndexNumberNull() const; + void setParentIndexNumberNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified person. + */ + const QString &person() const; + void setPerson(QString newPerson); + bool personNull() const; + void setPersonNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified person id. + */ + const QStringList &personIds() const; + void setPersonIds(QStringList newPersonIds); + bool personIdsNull() const; + void setPersonIdsNull(); + + + /** + * @brief Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. + */ + const QStringList &personTypes() const; + void setPersonTypes(QStringList newPersonTypes); + bool personTypesNull() const; + void setPersonTypesNull(); + + + /** + * @brief When searching within folders, this determines whether or not the search will be recursive. true/false. + */ + const bool &recursive() const; + void setRecursive(bool newRecursive); + bool recursiveNull() const; + void setRecursiveNull(); + + + /** + * @brief Optional. Filter based on a search term. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + bool searchTermNull() const; + void setSearchTermNull(); + + + /** + * @brief Optional filter by Series Status. Allows multiple, comma delimited. + */ + const QList &seriesStatus() const; + void setSeriesStatus(QList newSeriesStatus); + bool seriesStatusNull() const; + void setSeriesStatusNull(); + + + /** + * @brief Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + */ + const QString &sortBy() const; + void setSortBy(QString newSortBy); + bool sortByNull() const; + void setSortByNull(); + + + /** + * @brief Sort Order - Ascending,Descending. + */ + const QString &sortOrder() const; + void setSortOrder(QString newSortOrder); + bool sortOrderNull() const; + void setSortOrderNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. + */ + const QStringList &studioIds() const; + void setStudioIds(QStringList newStudioIds); + bool studioIdsNull() const; + void setStudioIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. + */ + const QStringList &studios() const; + void setStudios(QStringList newStudios); + bool studiosNull() const; + void setStudiosNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. + */ + const QStringList &tags() const; + void setTags(QStringList newTags); + bool tagsNull() const; + void setTagsNull(); + + + /** + * @brief The user id supplied as query parameter. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + + /** + * @brief Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. + */ + const QList &videoTypes() const; + void setVideoTypes(QList newVideoTypes); + bool videoTypesNull() const; + void setVideoTypesNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. + */ + const QList &years() const; + void setYears(QList newYears); + bool yearsNull() const; + void setYearsNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_adjacentTo; + QStringList m_albumArtistIds; + QStringList m_albumIds; + QStringList m_albums; + QStringList m_artistIds; + QStringList m_artists; + std::optional m_collapseBoxSetItems = std::nullopt; + QStringList m_contributingArtistIds; + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QStringList m_excludeArtistIds; + QStringList m_excludeItemIds; + QStringList m_excludeItemTypes; + QList m_excludeLocationTypes; + QList m_fields; + QList m_filters; + QStringList m_genreIds; + QStringList m_genres; + std::optional m_hasImdbId = std::nullopt; + std::optional m_hasOfficialRating = std::nullopt; + std::optional m_hasOverview = std::nullopt; + std::optional m_hasParentalRating = std::nullopt; + std::optional m_hasSpecialFeature = std::nullopt; + std::optional m_hasSubtitles = std::nullopt; + std::optional m_hasThemeSong = std::nullopt; + std::optional m_hasThemeVideo = std::nullopt; + std::optional m_hasTmdbId = std::nullopt; + std::optional m_hasTrailer = std::nullopt; + std::optional m_hasTvdbId = std::nullopt; + QStringList m_ids; + std::optional m_imageTypeLimit = std::nullopt; + QList m_imageTypes; + QStringList m_includeItemTypes; + std::optional m_is3D = std::nullopt; + std::optional m_is4K = std::nullopt; + std::optional m_isFavorite = std::nullopt; + std::optional m_isHd = std::nullopt; + std::optional m_isLocked = std::nullopt; + std::optional m_isMissing = std::nullopt; + std::optional m_isPlaceHolder = std::nullopt; + std::optional m_isPlayed = std::nullopt; + std::optional m_isUnaired = std::nullopt; + std::optional m_limit = std::nullopt; + QList m_locationTypes; + std::optional m_maxHeight = std::nullopt; + QString m_maxOfficialRating; + QDateTime m_maxPremiereDate; + std::optional m_maxWidth = std::nullopt; + QStringList m_mediaTypes; + std::optional m_minCommunityRating = std::nullopt; + std::optional m_minCriticRating = std::nullopt; + QDateTime m_minDateLastSaved; + QDateTime m_minDateLastSavedForUser; + std::optional m_minHeight = std::nullopt; + QString m_minOfficialRating; + QDateTime m_minPremiereDate; + std::optional m_minWidth = std::nullopt; + QString m_nameLessThan; + QString m_nameStartsWith; + QString m_nameStartsWithOrGreater; + QStringList m_officialRatings; + QString m_parentId; + std::optional m_parentIndexNumber = std::nullopt; + QString m_person; + QStringList m_personIds; + QStringList m_personTypes; + std::optional m_recursive = std::nullopt; + QString m_searchTerm; + QList m_seriesStatus; + QString m_sortBy; + QString m_sortOrder; + std::optional m_startIndex = std::nullopt; + QStringList m_studioIds; + QStringList m_studios; + QStringList m_tags; + QString m_userId; + QList m_videoTypes; + QList m_years; + +}; + +class GetItemsByUserIdParams { +public: + + /** + * @brief The user id supplied as query parameter. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Optional. Return items that are siblings of a supplied item. + */ + const QString &adjacentTo() const; + void setAdjacentTo(QString newAdjacentTo); + bool adjacentToNull() const; + void setAdjacentToNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified album artist id. + */ + const QStringList &albumArtistIds() const; + void setAlbumArtistIds(QStringList newAlbumArtistIds); + bool albumArtistIdsNull() const; + void setAlbumArtistIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimeted. + */ + const QStringList &albumIds() const; + void setAlbumIds(QStringList newAlbumIds); + bool albumIdsNull() const; + void setAlbumIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimeted. + */ + const QStringList &albums() const; + void setAlbums(QStringList newAlbums); + bool albumsNull() const; + void setAlbumsNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified artist id. + */ + const QStringList &artistIds() const; + void setArtistIds(QStringList newArtistIds); + bool artistIdsNull() const; + void setArtistIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimeted. + */ + const QStringList &artists() const; + void setArtists(QStringList newArtists); + bool artistsNull() const; + void setArtistsNull(); + + + /** + * @brief Whether or not to hide items behind their boxsets. + */ + const bool &collapseBoxSetItems() const; + void setCollapseBoxSetItems(bool newCollapseBoxSetItems); + bool collapseBoxSetItemsNull() const; + void setCollapseBoxSetItemsNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. + */ + const QStringList &contributingArtistIds() const; + void setContributingArtistIds(QStringList newContributingArtistIds); + bool contributingArtistIdsNull() const; + void setContributingArtistIdsNull(); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional, include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Enable the total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional, include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimeted. + */ + const QStringList &excludeArtistIds() const; + void setExcludeArtistIds(QStringList newExcludeArtistIds); + bool excludeArtistIdsNull() const; + void setExcludeArtistIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered by exxcluding item ids. This allows multiple, comma delimeted. + */ + const QStringList &excludeItemIds() const; + void setExcludeItemIds(QStringList newExcludeItemIds); + bool excludeItemIdsNull() const; + void setExcludeItemIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimeted. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimeted. + */ + const QList &excludeLocationTypes() const; + void setExcludeLocationTypes(QList newExcludeLocationTypes); + bool excludeLocationTypesNull() const; + void setExcludeLocationTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimeted. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. Specify additional filters to apply. This allows multiple, comma delimeted. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. + */ + const QList &filters() const; + void setFilters(QList newFilters); + bool filtersNull() const; + void setFiltersNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimeted. + */ + const QStringList &genreIds() const; + void setGenreIds(QStringList newGenreIds); + bool genreIdsNull() const; + void setGenreIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimeted. + */ + const QStringList &genres() const; + void setGenres(QStringList newGenres); + bool genresNull() const; + void setGenresNull(); + + + /** + * @brief Optional filter by items that have an imdb id or not. + */ + const bool &hasImdbId() const; + void setHasImdbId(bool newHasImdbId); + bool hasImdbIdNull() const; + void setHasImdbIdNull(); + + + /** + * @brief Optional filter by items that have official ratings. + */ + const bool &hasOfficialRating() const; + void setHasOfficialRating(bool newHasOfficialRating); + bool hasOfficialRatingNull() const; + void setHasOfficialRatingNull(); + + + /** + * @brief Optional filter by items that have an overview or not. + */ + const bool &hasOverview() const; + void setHasOverview(bool newHasOverview); + bool hasOverviewNull() const; + void setHasOverviewNull(); + + + /** + * @brief Optional filter by items that have or do not have a parental rating. + */ + const bool &hasParentalRating() const; + void setHasParentalRating(bool newHasParentalRating); + bool hasParentalRatingNull() const; + void setHasParentalRatingNull(); + + + /** + * @brief Optional filter by items with special features. + */ + const bool &hasSpecialFeature() const; + void setHasSpecialFeature(bool newHasSpecialFeature); + bool hasSpecialFeatureNull() const; + void setHasSpecialFeatureNull(); + + + /** + * @brief Optional filter by items with subtitles. + */ + const bool &hasSubtitles() const; + void setHasSubtitles(bool newHasSubtitles); + bool hasSubtitlesNull() const; + void setHasSubtitlesNull(); + + + /** + * @brief Optional filter by items with theme songs. + */ + const bool &hasThemeSong() const; + void setHasThemeSong(bool newHasThemeSong); + bool hasThemeSongNull() const; + void setHasThemeSongNull(); + + + /** + * @brief Optional filter by items with theme videos. + */ + const bool &hasThemeVideo() const; + void setHasThemeVideo(bool newHasThemeVideo); + bool hasThemeVideoNull() const; + void setHasThemeVideoNull(); + + + /** + * @brief Optional filter by items that have a tmdb id or not. + */ + const bool &hasTmdbId() const; + void setHasTmdbId(bool newHasTmdbId); + bool hasTmdbIdNull() const; + void setHasTmdbIdNull(); + + + /** + * @brief Optional filter by items with trailers. + */ + const bool &hasTrailer() const; + void setHasTrailer(bool newHasTrailer); + bool hasTrailerNull() const; + void setHasTrailerNull(); + + + /** + * @brief Optional filter by items that have a tvdb id or not. + */ + const bool &hasTvdbId() const; + void setHasTvdbId(bool newHasTvdbId); + bool hasTvdbIdNull() const; + void setHasTvdbIdNull(); + + + /** + * @brief Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. + */ + const QStringList &ids() const; + void setIds(QStringList newIds); + bool idsNull() const; + void setIdsNull(); + + + /** + * @brief Optional, the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. + */ + const QList &imageTypes() const; + void setImageTypes(QList newImageTypes); + bool imageTypesNull() const; + void setImageTypesNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimeted. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional filter by items that are 3D, or not. + */ + const bool &is3D() const; + void setIs3D(bool newIs3D); + bool is3DNull() const; + void setIs3DNull(); + + + /** + * @brief Optional filter by items that are 4K or not. + */ + const bool &is4K() const; + void setIs4K(bool newIs4K); + bool is4KNull() const; + void setIs4KNull(); + + + /** + * @brief Optional filter by items that are marked as favorite, or not. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional filter by items that are HD or not. + */ + const bool &isHd() const; + void setIsHd(bool newIsHd); + bool isHdNull() const; + void setIsHdNull(); + + + /** + * @brief Optional filter by items that are locked. + */ + const bool &isLocked() const; + void setIsLocked(bool newIsLocked); + bool isLockedNull() const; + void setIsLockedNull(); + + + /** + * @brief Optional filter by items that are missing episodes or not. + */ + const bool &isMissing() const; + void setIsMissing(bool newIsMissing); + bool isMissingNull() const; + void setIsMissingNull(); + + + /** + * @brief Optional filter by items that are placeholders. + */ + const bool &isPlaceHolder() const; + void setIsPlaceHolder(bool newIsPlaceHolder); + bool isPlaceHolderNull() const; + void setIsPlaceHolderNull(); + + + /** + * @brief Optional filter by items that are played, or not. + */ + const bool &isPlayed() const; + void setIsPlayed(bool newIsPlayed); + bool isPlayedNull() const; + void setIsPlayedNull(); + + + /** + * @brief Optional filter by items that are unaired episodes or not. + */ + const bool &isUnaired() const; + void setIsUnaired(bool newIsUnaired); + bool isUnairedNull() const; + void setIsUnairedNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimeted. + */ + const QList &locationTypes() const; + void setLocationTypes(QList newLocationTypes); + bool locationTypesNull() const; + void setLocationTypesNull(); + + + /** + * @brief Optional. Filter by the maximum height of the item. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). + */ + const QString &maxOfficialRating() const; + void setMaxOfficialRating(QString newMaxOfficialRating); + bool maxOfficialRatingNull() const; + void setMaxOfficialRatingNull(); + + + /** + * @brief Optional. The maximum premiere date. Format = ISO. + */ + const QDateTime &maxPremiereDate() const; + void setMaxPremiereDate(QDateTime newMaxPremiereDate); + bool maxPremiereDateNull() const; + void setMaxPremiereDateNull(); + + + /** + * @brief Optional. Filter by the maximum width of the item. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional filter by MediaType. Allows multiple, comma delimited. + */ + const QStringList &mediaTypes() const; + void setMediaTypes(QStringList newMediaTypes); + bool mediaTypesNull() const; + void setMediaTypesNull(); + + + /** + * @brief Optional filter by minimum community rating. + */ + const double &minCommunityRating() const; + void setMinCommunityRating(double newMinCommunityRating); + bool minCommunityRatingNull() const; + void setMinCommunityRatingNull(); + + + /** + * @brief Optional filter by minimum critic rating. + */ + const double &minCriticRating() const; + void setMinCriticRating(double newMinCriticRating); + bool minCriticRatingNull() const; + void setMinCriticRatingNull(); + + + /** + * @brief Optional. The minimum last saved date. Format = ISO. + */ + const QDateTime &minDateLastSaved() const; + void setMinDateLastSaved(QDateTime newMinDateLastSaved); + bool minDateLastSavedNull() const; + void setMinDateLastSavedNull(); + + + /** + * @brief Optional. The minimum last saved date for the current user. Format = ISO. + */ + const QDateTime &minDateLastSavedForUser() const; + void setMinDateLastSavedForUser(QDateTime newMinDateLastSavedForUser); + bool minDateLastSavedForUserNull() const; + void setMinDateLastSavedForUserNull(); + + + /** + * @brief Optional. Filter by the minimum height of the item. + */ + const qint32 &minHeight() const; + void setMinHeight(qint32 newMinHeight); + bool minHeightNull() const; + void setMinHeightNull(); + + + /** + * @brief Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). + */ + const QString &minOfficialRating() const; + void setMinOfficialRating(QString newMinOfficialRating); + bool minOfficialRatingNull() const; + void setMinOfficialRatingNull(); + + + /** + * @brief Optional. The minimum premiere date. Format = ISO. + */ + const QDateTime &minPremiereDate() const; + void setMinPremiereDate(QDateTime newMinPremiereDate); + bool minPremiereDateNull() const; + void setMinPremiereDateNull(); + + + /** + * @brief Optional. Filter by the minimum width of the item. + */ + const qint32 &minWidth() const; + void setMinWidth(qint32 newMinWidth); + bool minWidthNull() const; + void setMinWidthNull(); + + + /** + * @brief Optional filter by items whose name is equally or lesser than a given input string. + */ + const QString &nameLessThan() const; + void setNameLessThan(QString newNameLessThan); + bool nameLessThanNull() const; + void setNameLessThanNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally than a given input string. + */ + const QString &nameStartsWith() const; + void setNameStartsWith(QString newNameStartsWith); + bool nameStartsWithNull() const; + void setNameStartsWithNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally or greater than a given input string. + */ + const QString &nameStartsWithOrGreater() const; + void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater); + bool nameStartsWithOrGreaterNull() const; + void setNameStartsWithOrGreaterNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimeted. + */ + const QStringList &officialRatings() const; + void setOfficialRatings(QStringList newOfficialRatings); + bool officialRatingsNull() const; + void setOfficialRatingsNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional filter by parent index number. + */ + const qint32 &parentIndexNumber() const; + void setParentIndexNumber(qint32 newParentIndexNumber); + bool parentIndexNumberNull() const; + void setParentIndexNumberNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified person. + */ + const QString &person() const; + void setPerson(QString newPerson); + bool personNull() const; + void setPersonNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified person id. + */ + const QStringList &personIds() const; + void setPersonIds(QStringList newPersonIds); + bool personIdsNull() const; + void setPersonIdsNull(); + + + /** + * @brief Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. + */ + const QStringList &personTypes() const; + void setPersonTypes(QStringList newPersonTypes); + bool personTypesNull() const; + void setPersonTypesNull(); + + + /** + * @brief When searching within folders, this determines whether or not the search will be recursive. true/false. + */ + const bool &recursive() const; + void setRecursive(bool newRecursive); + bool recursiveNull() const; + void setRecursiveNull(); + + + /** + * @brief Optional. Filter based on a search term. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + bool searchTermNull() const; + void setSearchTermNull(); + + + /** + * @brief Optional filter by Series Status. Allows multiple, comma delimeted. + */ + const QList &seriesStatus() const; + void setSeriesStatus(QList newSeriesStatus); + bool seriesStatusNull() const; + void setSeriesStatusNull(); + + + /** + * @brief Optional. Specify one or more sort orders, comma delimeted. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + */ + const QString &sortBy() const; + void setSortBy(QString newSortBy); + bool sortByNull() const; + void setSortByNull(); + + + /** + * @brief Sort Order - Ascending,Descending. + */ + const QString &sortOrder() const; + void setSortOrder(QString newSortOrder); + bool sortOrderNull() const; + void setSortOrderNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimeted. + */ + const QStringList &studioIds() const; + void setStudioIds(QStringList newStudioIds); + bool studioIdsNull() const; + void setStudioIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimeted. + */ + const QStringList &studios() const; + void setStudios(QStringList newStudios); + bool studiosNull() const; + void setStudiosNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimeted. + */ + const QStringList &tags() const; + void setTags(QStringList newTags); + bool tagsNull() const; + void setTagsNull(); + + + /** + * @brief Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimeted. + */ + const QList &videoTypes() const; + void setVideoTypes(QList newVideoTypes); + bool videoTypesNull() const; + void setVideoTypesNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimeted. + */ + const QList &years() const; + void setYears(QList newYears); + bool yearsNull() const; + void setYearsNull(); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + QString m_adjacentTo; + QStringList m_albumArtistIds; + QStringList m_albumIds; + QStringList m_albums; + QStringList m_artistIds; + QStringList m_artists; + std::optional m_collapseBoxSetItems = std::nullopt; + QStringList m_contributingArtistIds; + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QStringList m_excludeArtistIds; + QStringList m_excludeItemIds; + QStringList m_excludeItemTypes; + QList m_excludeLocationTypes; + QList m_fields; + QList m_filters; + QStringList m_genreIds; + QStringList m_genres; + std::optional m_hasImdbId = std::nullopt; + std::optional m_hasOfficialRating = std::nullopt; + std::optional m_hasOverview = std::nullopt; + std::optional m_hasParentalRating = std::nullopt; + std::optional m_hasSpecialFeature = std::nullopt; + std::optional m_hasSubtitles = std::nullopt; + std::optional m_hasThemeSong = std::nullopt; + std::optional m_hasThemeVideo = std::nullopt; + std::optional m_hasTmdbId = std::nullopt; + std::optional m_hasTrailer = std::nullopt; + std::optional m_hasTvdbId = std::nullopt; + QStringList m_ids; + std::optional m_imageTypeLimit = std::nullopt; + QList m_imageTypes; + QStringList m_includeItemTypes; + std::optional m_is3D = std::nullopt; + std::optional m_is4K = std::nullopt; + std::optional m_isFavorite = std::nullopt; + std::optional m_isHd = std::nullopt; + std::optional m_isLocked = std::nullopt; + std::optional m_isMissing = std::nullopt; + std::optional m_isPlaceHolder = std::nullopt; + std::optional m_isPlayed = std::nullopt; + std::optional m_isUnaired = std::nullopt; + std::optional m_limit = std::nullopt; + QList m_locationTypes; + std::optional m_maxHeight = std::nullopt; + QString m_maxOfficialRating; + QDateTime m_maxPremiereDate; + std::optional m_maxWidth = std::nullopt; + QStringList m_mediaTypes; + std::optional m_minCommunityRating = std::nullopt; + std::optional m_minCriticRating = std::nullopt; + QDateTime m_minDateLastSaved; + QDateTime m_minDateLastSavedForUser; + std::optional m_minHeight = std::nullopt; + QString m_minOfficialRating; + QDateTime m_minPremiereDate; + std::optional m_minWidth = std::nullopt; + QString m_nameLessThan; + QString m_nameStartsWith; + QString m_nameStartsWithOrGreater; + QStringList m_officialRatings; + QString m_parentId; + std::optional m_parentIndexNumber = std::nullopt; + QString m_person; + QStringList m_personIds; + QStringList m_personTypes; + std::optional m_recursive = std::nullopt; + QString m_searchTerm; + QList m_seriesStatus; + QString m_sortBy; + QString m_sortOrder; + std::optional m_startIndex = std::nullopt; + QStringList m_studioIds; + QStringList m_studios; + QStringList m_tags; + QList m_videoTypes; + QList m_years; + +}; + +class GetKeysParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetLatestChannelItemsParams { +public: + + /** + * @brief Optional. Specify one or more channel id's, comma delimited. + */ + const QStringList &channelIds() const; + void setChannelIds(QStringList newChannelIds); + bool channelIdsNull() const; + void setChannelIdsNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. Specify additional filters to apply. + */ + const QList &filters() const; + void setFilters(QList newFilters); + bool filtersNull() const; + void setFiltersNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. User Id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QStringList m_channelIds; + QList m_fields; + QList m_filters; + std::optional m_limit = std::nullopt; + std::optional m_startIndex = std::nullopt; + QString m_userId; + +}; + +class GetLatestMediaParams { +public: + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Whether or not to group items into a parent container. + */ + const bool &groupItems() const; + void setGroupItems(bool newGroupItems); + bool groupItemsNull() const; + void setGroupItemsNull(); + + + /** + * @brief Optional. the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Filter by items that are played, or not. + */ + const bool &isPlayed() const; + void setIsPlayed(bool newIsPlayed); + bool isPlayedNull() const; + void setIsPlayedNull(); + + + /** + * @brief Return item limit. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_groupItems = std::nullopt; + std::optional m_imageTypeLimit = std::nullopt; + QStringList m_includeItemTypes; + std::optional m_isPlayed = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_parentId; + +}; + +class GetLibraryOptionsInfoParams { +public: + + /** + * @brief Whether this is a new library. + */ + const bool &isNewLibrary() const; + void setIsNewLibrary(bool newIsNewLibrary); + bool isNewLibraryNull() const; + void setIsNewLibraryNull(); + + + /** + * @brief Library content type. + */ + const QString &libraryContentType() const; + void setLibraryContentType(QString newLibraryContentType); + bool libraryContentTypeNull() const; + void setLibraryContentTypeNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_isNewLibrary = std::nullopt; + QString m_libraryContentType; + +}; + +class GetLineupsParams { +public: + + /** + * @brief Country. + */ + const QString &country() const; + void setCountry(QString newCountry); + bool countryNull() const; + void setCountryNull(); + + + /** + * @brief Provider id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + bool jellyfinIdNull() const; + void setJellyfinIdNull(); + + + /** + * @brief Location. + */ + const QString &location() const; + void setLocation(QString newLocation); + bool locationNull() const; + void setLocationNull(); + + + /** + * @brief Provider type. + */ + const QString &type() const; + void setType(QString newType); + bool typeNull() const; + void setTypeNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_country; + QString m_jellyfinId; + QString m_location; + QString m_type; + +}; + +class GetLiveHlsStreamParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief The audio container. + */ + const QString &container() const; + void setContainer(QString newContainer); + bool containerNull() const; + void setContainerNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. Whether to enable subtitles in the manifest. + */ + const bool &enableSubtitlesInManifest() const; + void setEnableSubtitlesInManifest(bool newEnableSubtitlesInManifest); + bool enableSubtitlesInManifestNull() const; + void setEnableSubtitlesInManifestNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. The max height. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief Optional. The max width. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment lenght. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + QString m_container; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_enableSubtitlesInManifest = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + std::optional m_maxWidth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetLiveRecordingFileParams { +public: + + /** + * @brief Recording id. + */ + const QString &recordingId() const; + void setRecordingId(QString newRecordingId); + + +private: + // Required path parameters + QString m_recordingId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetLiveStreamFileParams { +public: + + /** + * @brief Container type. + */ + const QString &container() const; + void setContainer(QString newContainer); + + + /** + * @brief Stream id. + */ + const QString &streamId() const; + void setStreamId(QString newStreamId); + + +private: + // Required path parameters + QString m_container; + QString m_streamId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetLiveTvChannelsParams { +public: + + /** + * @brief Optional. Adds current program info to each channel. + */ + const bool &addCurrentProgram() const; + void setAddCurrentProgram(bool newAddCurrentProgram); + bool addCurrentProgramNull() const; + void setAddCurrentProgramNull(); + + + /** + * @brief Optional. Incorporate favorite and like status into channel sorting. + */ + const bool &enableFavoriteSorting() const; + void setEnableFavoriteSorting(bool newEnableFavoriteSorting); + bool enableFavoriteSortingNull() const; + void setEnableFavoriteSortingNull(); + + + /** + * @brief "Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. Filter by channels that are disliked, or not. + */ + const bool &isDisliked() const; + void setIsDisliked(bool newIsDisliked); + bool isDislikedNull() const; + void setIsDislikedNull(); + + + /** + * @brief Optional. Filter by channels that are favorites, or not. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional. Filter for kids. + */ + const bool &isKids() const; + void setIsKids(bool newIsKids); + bool isKidsNull() const; + void setIsKidsNull(); + + + /** + * @brief Optional. Filter by channels that are liked, or not. + */ + const bool &isLiked() const; + void setIsLiked(bool newIsLiked); + bool isLikedNull() const; + void setIsLikedNull(); + + + /** + * @brief Optional. Filter for movies. + */ + const bool &isMovie() const; + void setIsMovie(bool newIsMovie); + bool isMovieNull() const; + void setIsMovieNull(); + + + /** + * @brief Optional. Filter for news. + */ + const bool &isNews() const; + void setIsNews(bool newIsNews); + bool isNewsNull() const; + void setIsNewsNull(); + + + /** + * @brief Optional. Filter for series. + */ + const bool &isSeries() const; + void setIsSeries(bool newIsSeries); + bool isSeriesNull() const; + void setIsSeriesNull(); + + + /** + * @brief Optional. Filter for sports. + */ + const bool &isSports() const; + void setIsSports(bool newIsSports); + bool isSportsNull() const; + void setIsSportsNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Key to sort by. + */ + const QStringList &sortBy() const; + void setSortBy(QStringList newSortBy); + bool sortByNull() const; + void setSortByNull(); + + + /** + * @brief Optional. Sort order. + */ + const SortOrder &sortOrder() const; + void setSortOrder(SortOrder newSortOrder); + bool sortOrderNull() const; + void setSortOrderNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. Filter by channel type. + */ + const ChannelType &type() const; + void setType(ChannelType newType); + bool typeNull() const; + void setTypeNull(); + + + /** + * @brief Optional. Filter by user and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_addCurrentProgram = std::nullopt; + std::optional m_enableFavoriteSorting = std::nullopt; + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_isDisliked = std::nullopt; + std::optional m_isFavorite = std::nullopt; + std::optional m_isKids = std::nullopt; + std::optional m_isLiked = std::nullopt; + std::optional m_isMovie = std::nullopt; + std::optional m_isNews = std::nullopt; + std::optional m_isSeries = std::nullopt; + std::optional m_isSports = std::nullopt; + std::optional m_limit = std::nullopt; + QStringList m_sortBy; + SortOrder m_sortOrder; + std::optional m_startIndex = std::nullopt; + ChannelType m_type; + QString m_userId; + +}; + +class GetLiveTvInfoParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetLiveTvProgramsParams { +public: + + /** + * @brief The channels to return guide information for. + */ + const QStringList &channelIds() const; + void setChannelIds(QStringList newChannelIds); + bool channelIdsNull() const; + void setChannelIdsNull(); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Retrieve total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief The genre ids to return guide information for. + */ + const QStringList &genreIds() const; + void setGenreIds(QStringList newGenreIds); + bool genreIdsNull() const; + void setGenreIdsNull(); + + + /** + * @brief The genres to return guide information for. + */ + const QStringList &genres() const; + void setGenres(QStringList newGenres); + bool genresNull() const; + void setGenresNull(); + + + /** + * @brief Optional. Filter by programs that have completed airing, or not. + */ + const bool &hasAired() const; + void setHasAired(bool newHasAired); + bool hasAiredNull() const; + void setHasAiredNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. Filter by programs that are currently airing, or not. + */ + const bool &isAiring() const; + void setIsAiring(bool newIsAiring); + bool isAiringNull() const; + void setIsAiringNull(); + + + /** + * @brief Optional. Filter for kids. + */ + const bool &isKids() const; + void setIsKids(bool newIsKids); + bool isKidsNull() const; + void setIsKidsNull(); + + + /** + * @brief Optional. Filter for movies. + */ + const bool &isMovie() const; + void setIsMovie(bool newIsMovie); + bool isMovieNull() const; + void setIsMovieNull(); + + + /** + * @brief Optional. Filter for news. + */ + const bool &isNews() const; + void setIsNews(bool newIsNews); + bool isNewsNull() const; + void setIsNewsNull(); + + + /** + * @brief Optional. Filter for series. + */ + const bool &isSeries() const; + void setIsSeries(bool newIsSeries); + bool isSeriesNull() const; + void setIsSeriesNull(); + + + /** + * @brief Optional. Filter for sports. + */ + const bool &isSports() const; + void setIsSports(bool newIsSports); + bool isSportsNull() const; + void setIsSportsNull(); + + + /** + * @brief Optional. Filter by library series id. + */ + const QString &librarySeriesId() const; + void setLibrarySeriesId(QString newLibrarySeriesId); + bool librarySeriesIdNull() const; + void setLibrarySeriesIdNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. The maximum premiere end date. + */ + const QDateTime &maxEndDate() const; + void setMaxEndDate(QDateTime newMaxEndDate); + bool maxEndDateNull() const; + void setMaxEndDateNull(); + + + /** + * @brief Optional. The maximum premiere start date. + */ + const QDateTime &maxStartDate() const; + void setMaxStartDate(QDateTime newMaxStartDate); + bool maxStartDateNull() const; + void setMaxStartDateNull(); + + + /** + * @brief Optional. The minimum premiere end date. + */ + const QDateTime &minEndDate() const; + void setMinEndDate(QDateTime newMinEndDate); + bool minEndDateNull() const; + void setMinEndDateNull(); + + + /** + * @brief Optional. The minimum premiere start date. + */ + const QDateTime &minStartDate() const; + void setMinStartDate(QDateTime newMinStartDate); + bool minStartDateNull() const; + void setMinStartDateNull(); + + + /** + * @brief Optional. Filter by series timer id. + */ + const QString &seriesTimerId() const; + void setSeriesTimerId(QString newSeriesTimerId); + bool seriesTimerIdNull() const; + void setSeriesTimerIdNull(); + + + /** + * @brief Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. + */ + const QString &sortBy() const; + void setSortBy(QString newSortBy); + bool sortByNull() const; + void setSortByNull(); + + + /** + * @brief Sort Order - Ascending,Descending. + */ + const QString &sortOrder() const; + void setSortOrder(QString newSortOrder); + bool sortOrderNull() const; + void setSortOrderNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. Filter by user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QStringList m_channelIds; + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + QStringList m_genreIds; + QStringList m_genres; + std::optional m_hasAired = std::nullopt; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_isAiring = std::nullopt; + std::optional m_isKids = std::nullopt; + std::optional m_isMovie = std::nullopt; + std::optional m_isNews = std::nullopt; + std::optional m_isSeries = std::nullopt; + std::optional m_isSports = std::nullopt; + QString m_librarySeriesId; + std::optional m_limit = std::nullopt; + QDateTime m_maxEndDate; + QDateTime m_maxStartDate; + QDateTime m_minEndDate; + QDateTime m_minStartDate; + QString m_seriesTimerId; + QString m_sortBy; + QString m_sortOrder; + std::optional m_startIndex = std::nullopt; + QString m_userId; + +}; + +class GetLocalTrailersParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetLocalizationOptionsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetLogEntriesParams { +public: + + /** + * @brief Optional. Filter log entries if it has user id, or not. + */ + const bool &hasUserId() const; + void setHasUserId(bool newHasUserId); + bool hasUserIdNull() const; + void setHasUserIdNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. The minimum date. Format = ISO. + */ + const QDateTime &minDate() const; + void setMinDate(QDateTime newMinDate); + bool minDateNull() const; + void setMinDateNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_hasUserId = std::nullopt; + std::optional m_limit = std::nullopt; + QDateTime m_minDate; + std::optional m_startIndex = std::nullopt; + +}; + +class GetLogFileParams { +public: + + /** + * @brief The name of the log file to get. + */ + const QString &name() const; + void setName(QString newName); + + +private: + // Required path parameters + + // Required query parameters + QString m_name; + + // Optional query parameters + +}; + +class GetMasterHlsAudioPlaylistParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Enable adaptive bitrate streaming. + */ + const bool &enableAdaptiveBitrateStreaming() const; + void setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming); + bool enableAdaptiveBitrateStreamingNull() const; + void setEnableAdaptiveBitrateStreamingNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum streaming bitrate. + */ + const qint32 &maxStreamingBitrate() const; + void setMaxStreamingBitrate(qint32 newMaxStreamingBitrate); + bool maxStreamingBitrateNull() const; + void setMaxStreamingBitrateNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + QString m_mediaSourceId; + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAdaptiveBitrateStreaming = std::nullopt; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxStreamingBitrate = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetMasterHlsVideoPlaylistParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Enable adaptive bitrate streaming. + */ + const bool &enableAdaptiveBitrateStreaming() const; + void setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming); + bool enableAdaptiveBitrateStreamingNull() const; + void setEnableAdaptiveBitrateStreamingNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + QString m_mediaSourceId; + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAdaptiveBitrateStreaming = std::nullopt; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetMediaFoldersParams { +public: + + /** + * @brief Optional. Filter by folders that are marked hidden, or not. + */ + const bool &isHidden() const; + void setIsHidden(bool newIsHidden); + bool isHiddenNull() const; + void setIsHiddenNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_isHidden = std::nullopt; + +}; + +class GetMediaInfoImageParams { +public: + + /** + * @brief The name of the image. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief The theme to get the image from. + */ + const QString &theme() const; + void setTheme(QString newTheme); + + +private: + // Required path parameters + QString m_name; + QString m_theme; + + // Required query parameters + + // Optional query parameters + +}; + +class GetMediaInfoImagesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetMediaReceiverRegistrarParams { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetMediaReceiverRegistrar_2Params { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetMediaReceiverRegistrar_3Params { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetMetadataEditorInfoParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetMovieRecommendationsParams { +public: + + /** + * @brief The max number of categories to return. + */ + const qint32 &categoryLimit() const; + void setCategoryLimit(qint32 newCategoryLimit); + bool categoryLimitNull() const; + void setCategoryLimitNull(); + + + /** + * @brief Optional. The fields to return. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief The max number of items to return per category. + */ + const qint32 &itemLimit() const; + void setItemLimit(qint32 newItemLimit); + bool itemLimitNull() const; + void setItemLimitNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_categoryLimit = std::nullopt; + QList m_fields; + std::optional m_itemLimit = std::nullopt; + QString m_parentId; + QString m_userId; + +}; + +class GetMovieRemoteSearchResultsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetMusicAlbumRemoteSearchResultsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetMusicArtistRemoteSearchResultsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetMusicGenreParams { +public: + + /** + * @brief The genre name. + */ + const QString &genreName() const; + void setGenreName(QString newGenreName); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_genreName; + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetMusicGenreImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Music genre name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetMusicGenreImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Music genre name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetMusicGenresParams { +public: + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional, include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional, the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional filter by items that are marked as favorite, or not. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional filter by items whose name is equally or lesser than a given input string. + */ + const QString &nameLessThan() const; + void setNameLessThan(QString newNameLessThan); + bool nameLessThanNull() const; + void setNameLessThanNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally than a given input string. + */ + const QString &nameStartsWith() const; + void setNameStartsWith(QString newNameStartsWith); + bool nameStartsWithNull() const; + void setNameStartsWithNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally or greater than a given input string. + */ + const QString &nameStartsWithOrGreater() const; + void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater); + bool nameStartsWithOrGreaterNull() const; + void setNameStartsWithOrGreaterNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief The search term. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + bool searchTermNull() const; + void setSearchTermNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + QStringList m_excludeItemTypes; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + QStringList m_includeItemTypes; + std::optional m_isFavorite = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_nameLessThan; + QString m_nameStartsWith; + QString m_nameStartsWithOrGreater; + QString m_parentId; + QString m_searchTerm; + std::optional m_startIndex = std::nullopt; + QString m_userId; + +}; + +class GetMusicVideoRemoteSearchResultsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetNamedConfigurationParams { +public: + + /** + * @brief Configuration key. + */ + const QString &key() const; + void setKey(QString newKey); + + +private: + // Required path parameters + QString m_key; + + // Required query parameters + + // Optional query parameters + +}; + +class GetNetworkSharesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetNextUpParams { +public: + + /** + * @brief Whether to disable sending the first episode in a series as next up. + */ + const bool &disableFirstEpisode() const; + void setDisableFirstEpisode(bool newDisableFirstEpisode); + bool disableFirstEpisodeNull() const; + void setDisableFirstEpisodeNull(); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImges() const; + void setEnableImges(bool newEnableImges); + bool enableImgesNull() const; + void setEnableImgesNull(); + + + /** + * @brief Whether to enable the total records count. Defaults to true. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional. Filter by series id. + */ + const QString &seriesId() const; + void setSeriesId(QString newSeriesId); + bool seriesIdNull() const; + void setSeriesIdNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief The user id of the user to get the next up episodes for. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_disableFirstEpisode = std::nullopt; + QList m_enableImageTypes; + std::optional m_enableImges = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_parentId; + QString m_seriesId; + std::optional m_startIndex = std::nullopt; + QString m_userId; + +}; + +class GetNotificationServicesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetNotificationTypesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetNotificationsParams { +public: + + /** + * @brief + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetNotificationsSummaryParams { +public: + + /** + * @brief + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetPackageInfoParams { +public: + + /** + * @brief The name of the package. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief The GUID of the associated assembly. + */ + const QString &assemblyGuid() const; + void setAssemblyGuid(QString newAssemblyGuid); + bool assemblyGuidNull() const; + void setAssemblyGuidNull(); + + +private: + // Required path parameters + QString m_name; + + // Required query parameters + + // Optional query parameters + QString m_assemblyGuid; + +}; + +class GetPackagesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetParentPathParams { +public: + + /** + * @brief The path. + */ + const QString &path() const; + void setPath(QString newPath); + + +private: + // Required path parameters + + // Required query parameters + QString m_path; + + // Optional query parameters + +}; + +class GetParentalRatingsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetPasswordResetProvidersParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetPersonParams { +public: + + /** + * @brief Person name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_name; + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetPersonImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Person name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetPersonImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Person name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetPersonRemoteSearchResultsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetPersonsParams { +public: + + /** + * @brief Optional. If specified, person results will be filtered on items related to said persons. + */ + const QString &appearsInItemId() const; + void setAppearsInItemId(QString newAppearsInItemId); + bool appearsInItemIdNull() const; + void setAppearsInItemIdNull(); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional, include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional, include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. If specified results will be filtered to exclude those containing the specified PersonType. Allows multiple, comma-delimited. + */ + const QStringList &excludePersonTypes() const; + void setExcludePersonTypes(QStringList newExcludePersonTypes); + bool excludePersonTypesNull() const; + void setExcludePersonTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. Specify additional filters to apply. + */ + const QList &filters() const; + void setFilters(QList newFilters); + bool filtersNull() const; + void setFiltersNull(); + + + /** + * @brief Optional, the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional filter by items that are marked as favorite, or not. userId is required. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. If specified results will be filtered to include only those containing the specified PersonType. Allows multiple, comma-delimited. + */ + const QStringList &personTypes() const; + void setPersonTypes(QStringList newPersonTypes); + bool personTypesNull() const; + void setPersonTypesNull(); + + + /** + * @brief The search term. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + bool searchTermNull() const; + void setSearchTermNull(); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_appearsInItemId; + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QStringList m_excludePersonTypes; + QList m_fields; + QList m_filters; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_isFavorite = std::nullopt; + std::optional m_limit = std::nullopt; + QStringList m_personTypes; + QString m_searchTerm; + QString m_userId; + +}; + +class GetPhysicalPathsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetPingSystemParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetPlaybackInfoParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + QString m_userId; + + // Optional query parameters + +}; + +class GetPlaylistItemsParams { +public: + + /** + * @brief The playlist id. + */ + const QString &playlistId() const; + void setPlaylistId(QString newPlaylistId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + +private: + // Required path parameters + QString m_playlistId; + + // Required query parameters + QString m_userId; + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_limit = std::nullopt; + std::optional m_startIndex = std::nullopt; + +}; + +class GetPluginConfigurationParams { +public: + + /** + * @brief Plugin id. + */ + const QString &pluginId() const; + void setPluginId(QString newPluginId); + + +private: + // Required path parameters + QString m_pluginId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetPluginImageParams { +public: + + /** + * @brief Plugin id. + */ + const QString &pluginId() const; + void setPluginId(QString newPluginId); + + + /** + * @brief Plugin version. + */ + const QSharedPointer &version() const; + void setVersion(QSharedPointer newVersion); + + +private: + // Required path parameters + QString m_pluginId; + QSharedPointer m_version; + + // Required query parameters + + // Optional query parameters + +}; + +class GetPluginManifestParams { +public: + + /** + * @brief Plugin id. + */ + const QString &pluginId() const; + void setPluginId(QString newPluginId); + + +private: + // Required path parameters + QString m_pluginId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetPluginsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetPostedPlaybackInfoParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Whether to allow to copy the audio stream. Default: true. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether to allow to copy the video stream. Default: true. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief The audio stream index. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Whether to auto open the livestream. + */ + const bool &autoOpenLiveStream() const; + void setAutoOpenLiveStream(bool newAutoOpenLiveStream); + bool autoOpenLiveStreamNull() const; + void setAutoOpenLiveStreamNull(); + + + /** + * @brief Whether to enable direct play. Default: true. + */ + const bool &enableDirectPlay() const; + void setEnableDirectPlay(bool newEnableDirectPlay); + bool enableDirectPlayNull() const; + void setEnableDirectPlayNull(); + + + /** + * @brief Whether to enable direct stream. Default: true. + */ + const bool &enableDirectStream() const; + void setEnableDirectStream(bool newEnableDirectStream); + bool enableDirectStreamNull() const; + void setEnableDirectStreamNull(); + + + /** + * @brief Whether to enable transcoding. Default: true. + */ + const bool &enableTranscoding() const; + void setEnableTranscoding(bool newEnableTranscoding); + bool enableTranscodingNull() const; + void setEnableTranscodingNull(); + + + /** + * @brief The livestream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief The maximum number of audio channels. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief The maximum streaming bitrate. + */ + const qint32 &maxStreamingBitrate() const; + void setMaxStreamingBitrate(qint32 newMaxStreamingBitrate); + bool maxStreamingBitrateNull() const; + void setMaxStreamingBitrateNull(); + + + /** + * @brief The media source id. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The start time in ticks. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief The subtitle stream index. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_autoOpenLiveStream = std::nullopt; + std::optional m_enableDirectPlay = std::nullopt; + std::optional m_enableDirectStream = std::nullopt; + std::optional m_enableTranscoding = std::nullopt; + QString m_liveStreamId; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxStreamingBitrate = std::nullopt; + QString m_mediaSourceId; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_userId; + +}; + +class GetProfileParams { +public: + + /** + * @brief Profile Id. + */ + const QString &profileId() const; + void setProfileId(QString newProfileId); + + +private: + // Required path parameters + QString m_profileId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetProfileInfosParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetProgramParams { +public: + + /** + * @brief Program id. + */ + const QString &programId() const; + void setProgramId(QString newProgramId); + + + /** + * @brief Optional. Attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_programId; + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetProgramsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetPublicSystemInfoParams { +public: + +private: + // Required path parameters + + // Required query parameters // Optional query parameters @@ -20796,36 +14031,14600 @@ private: // Required path parameters // Required query parameters - - // Optional path parameters // Optional query parameters }; -class MarkFavoriteItemParams { +class GetQueryFiltersParams { public: + + /** + * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional. Is item airing. + */ + const bool &isAiring() const; + void setIsAiring(bool newIsAiring); + bool isAiringNull() const; + void setIsAiringNull(); + + + /** + * @brief Optional. Is item kids. + */ + const bool &isKids() const; + void setIsKids(bool newIsKids); + bool isKidsNull() const; + void setIsKidsNull(); + + + /** + * @brief Optional. Is item movie. + */ + const bool &isMovie() const; + void setIsMovie(bool newIsMovie); + bool isMovieNull() const; + void setIsMovieNull(); + + + /** + * @brief Optional. Is item news. + */ + const bool &isNews() const; + void setIsNews(bool newIsNews); + bool isNewsNull() const; + void setIsNewsNull(); + + + /** + * @brief Optional. Is item series. + */ + const bool &isSeries() const; + void setIsSeries(bool newIsSeries); + bool isSeriesNull() const; + void setIsSeriesNull(); + + + /** + * @brief Optional. Is item sports. + */ + const bool &isSports() const; + void setIsSports(bool newIsSports); + bool isSportsNull() const; + void setIsSportsNull(); + + + /** + * @brief Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional. Search recursive. + */ + const bool &recursive() const; + void setRecursive(bool newRecursive); + bool recursiveNull() const; + void setRecursiveNull(); + + + /** + * @brief Optional. User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QStringList m_includeItemTypes; + std::optional m_isAiring = std::nullopt; + std::optional m_isKids = std::nullopt; + std::optional m_isMovie = std::nullopt; + std::optional m_isNews = std::nullopt; + std::optional m_isSeries = std::nullopt; + std::optional m_isSports = std::nullopt; + QString m_parentId; + std::optional m_recursive = std::nullopt; + QString m_userId; + +}; + +class GetQueryFiltersLegacyParams { +public: + + /** + * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional. Filter by MediaType. Allows multiple, comma delimited. + */ + const QStringList &mediaTypes() const; + void setMediaTypes(QStringList newMediaTypes); + bool mediaTypesNull() const; + void setMediaTypesNull(); + + + /** + * @brief Optional. Parent id. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional. User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QStringList m_includeItemTypes; + QStringList m_mediaTypes; + QString m_parentId; + QString m_userId; + +}; + +class GetRatingImageParams { +public: + + /** + * @brief The name of the image. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief The theme to get the image from. + */ + const QString &theme() const; + void setTheme(QString newTheme); + + +private: + // Required path parameters + QString m_name; + QString m_theme; + + // Required query parameters + + // Optional query parameters + +}; + +class GetRatingImagesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetRecommendedProgramsParams { +public: + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Retrieve total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional. include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief The genres to return guide information for. + */ + const QStringList &genreIds() const; + void setGenreIds(QStringList newGenreIds); + bool genreIdsNull() const; + void setGenreIdsNull(); + + + /** + * @brief Optional. Filter by programs that have completed airing, or not. + */ + const bool &hasAired() const; + void setHasAired(bool newHasAired); + bool hasAiredNull() const; + void setHasAiredNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. Filter by programs that are currently airing, or not. + */ + const bool &isAiring() const; + void setIsAiring(bool newIsAiring); + bool isAiringNull() const; + void setIsAiringNull(); + + + /** + * @brief Optional. Filter for kids. + */ + const bool &isKids() const; + void setIsKids(bool newIsKids); + bool isKidsNull() const; + void setIsKidsNull(); + + + /** + * @brief Optional. Filter for movies. + */ + const bool &isMovie() const; + void setIsMovie(bool newIsMovie); + bool isMovieNull() const; + void setIsMovieNull(); + + + /** + * @brief Optional. Filter for news. + */ + const bool &isNews() const; + void setIsNews(bool newIsNews); + bool isNewsNull() const; + void setIsNewsNull(); + + + /** + * @brief Optional. Filter for series. + */ + const bool &isSeries() const; + void setIsSeries(bool newIsSeries); + bool isSeriesNull() const; + void setIsSeriesNull(); + + + /** + * @brief Optional. Filter for sports. + */ + const bool &isSports() const; + void setIsSports(bool newIsSports); + bool isSportsNull() const; + void setIsSportsNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. filter by user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + QStringList m_genreIds; + std::optional m_hasAired = std::nullopt; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_isAiring = std::nullopt; + std::optional m_isKids = std::nullopt; + std::optional m_isMovie = std::nullopt; + std::optional m_isNews = std::nullopt; + std::optional m_isSeries = std::nullopt; + std::optional m_isSports = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetRecordingParams { +public: + + /** + * @brief Recording id. + */ + const QString &recordingId() const; + void setRecordingId(QString newRecordingId); + + + /** + * @brief Optional. Attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_recordingId; + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetRecordingFoldersParams { +public: + + /** + * @brief Optional. Filter by user and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetRecordingGroupParams { +public: + + /** + * @brief Group id. + */ + const QString &groupId() const; + void setGroupId(QString newGroupId); + + +private: + // Required path parameters + QString m_groupId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetRecordingGroupsParams { +public: + + /** + * @brief Optional. Filter by user and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetRecordingsParams { +public: + + /** + * @brief Optional. Filter by channel id. + */ + const QString &channelId() const; + void setChannelId(QString newChannelId); + bool channelIdNull() const; + void setChannelIdNull(); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Return total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. Filter by recordings that are in progress, or not. + */ + const bool &isInProgress() const; + void setIsInProgress(bool newIsInProgress); + bool isInProgressNull() const; + void setIsInProgressNull(); + + + /** + * @brief Optional. Filter for kids. + */ + const bool &isKids() const; + void setIsKids(bool newIsKids); + bool isKidsNull() const; + void setIsKidsNull(); + + + /** + * @brief Optional. Filter for is library item. + */ + const bool &isLibraryItem() const; + void setIsLibraryItem(bool newIsLibraryItem); + bool isLibraryItemNull() const; + void setIsLibraryItemNull(); + + + /** + * @brief Optional. Filter for movies. + */ + const bool &isMovie() const; + void setIsMovie(bool newIsMovie); + bool isMovieNull() const; + void setIsMovieNull(); + + + /** + * @brief Optional. Filter for news. + */ + const bool &isNews() const; + void setIsNews(bool newIsNews); + bool isNewsNull() const; + void setIsNewsNull(); + + + /** + * @brief Optional. Filter for series. + */ + const bool &isSeries() const; + void setIsSeries(bool newIsSeries); + bool isSeriesNull() const; + void setIsSeriesNull(); + + + /** + * @brief Optional. Filter for sports. + */ + const bool &isSports() const; + void setIsSports(bool newIsSports); + bool isSportsNull() const; + void setIsSportsNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by recordings belonging to a series timer. + */ + const QString &seriesTimerId() const; + void setSeriesTimerId(QString newSeriesTimerId); + bool seriesTimerIdNull() const; + void setSeriesTimerIdNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. Filter by recording status. + */ + const RecordingStatus &status() const; + void setStatus(RecordingStatus newStatus); + bool statusNull() const; + void setStatusNull(); + + + /** + * @brief Optional. Filter by user and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_channelId; + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_isInProgress = std::nullopt; + std::optional m_isKids = std::nullopt; + std::optional m_isLibraryItem = std::nullopt; + std::optional m_isMovie = std::nullopt; + std::optional m_isNews = std::nullopt; + std::optional m_isSeries = std::nullopt; + std::optional m_isSports = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_seriesTimerId; + std::optional m_startIndex = std::nullopt; + RecordingStatus m_status; + QString m_userId; + +}; + +class GetRecordingsSeriesParams { +public: + + /** + * @brief Optional. Filter by channel id. + */ + const QString &channelId() const; + void setChannelId(QString newChannelId); + bool channelIdNull() const; + void setChannelIdNull(); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Return total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. Filter by recording group. + */ + const QString &groupId() const; + void setGroupId(QString newGroupId); + bool groupIdNull() const; + void setGroupIdNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. Filter by recordings that are in progress, or not. + */ + const bool &isInProgress() const; + void setIsInProgress(bool newIsInProgress); + bool isInProgressNull() const; + void setIsInProgressNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by recordings belonging to a series timer. + */ + const QString &seriesTimerId() const; + void setSeriesTimerId(QString newSeriesTimerId); + bool seriesTimerIdNull() const; + void setSeriesTimerIdNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. Filter by recording status. + */ + const RecordingStatus &status() const; + void setStatus(RecordingStatus newStatus); + bool statusNull() const; + void setStatusNull(); + + + /** + * @brief Optional. Filter by user and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_channelId; + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + QString m_groupId; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_isInProgress = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_seriesTimerId; + std::optional m_startIndex = std::nullopt; + RecordingStatus m_status; + QString m_userId; + +}; + +class GetRemoteImageParams { +public: + + /** + * @brief The image url. + */ + const QString &imageUrl() const; + void setImageUrl(QString newImageUrl); + + +private: + // Required path parameters + + // Required query parameters + QString m_imageUrl; + + // Optional query parameters + +}; + +class GetRemoteImageProvidersParams { +public: + + /** + * @brief Item Id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetRemoteImagesParams { +public: + + /** + * @brief Item Id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Include all languages. + */ + const bool &includeAllLanguages() const; + void setIncludeAllLanguages(bool newIncludeAllLanguages); + bool includeAllLanguagesNull() const; + void setIncludeAllLanguagesNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. The image provider to use. + */ + const QString &providerName() const; + void setProviderName(QString newProviderName); + bool providerNameNull() const; + void setProviderNameNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief The image type. + */ + const ImageType &type() const; + void setType(ImageType newType); + bool typeNull() const; + void setTypeNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_includeAllLanguages = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_providerName; + std::optional m_startIndex = std::nullopt; + ImageType m_type; + +}; + +class GetRemoteSearchImageParams { +public: + + /** + * @brief The image url. + */ + const QString &imageUrl() const; + void setImageUrl(QString newImageUrl); + + + /** + * @brief The provider name. + */ + const QString &providerName() const; + void setProviderName(QString newProviderName); + + +private: + // Required path parameters + + // Required query parameters + QString m_imageUrl; + QString m_providerName; + + // Optional query parameters + +}; + +class GetRemoteSubtitlesParams { +public: + + /** + * @brief The item id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + + +private: + // Required path parameters + QString m_jellyfinId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetRepositoriesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetResumeItemsParams { +public: + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Enable the total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief The item limit. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by MediaType. Allows multiple, comma delimited. + */ + const QStringList &mediaTypes() const; + void setMediaTypes(QStringList newMediaTypes); + bool mediaTypesNull() const; + void setMediaTypesNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief The search term. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + bool searchTermNull() const; + void setSearchTermNull(); + + + /** + * @brief The start index. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QStringList m_excludeItemTypes; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + QStringList m_includeItemTypes; + std::optional m_limit = std::nullopt; + QStringList m_mediaTypes; + QString m_parentId; + QString m_searchTerm; + std::optional m_startIndex = std::nullopt; + +}; + +class GetRootFolderParams { +public: + /** * @brief User id. */ - QString userId() const; - void setUserId(QString newUserId) const; + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetSchedulesDirectCountriesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetSeasonsParams { +public: + + /** + * @brief The series id. + */ + const QString &seriesId() const; + void setSeriesId(QString newSeriesId); + + + /** + * @brief Optional. Return items that are siblings of a supplied item. + */ + const QString &adjacentTo() const; + void setAdjacentTo(QString newAdjacentTo); + bool adjacentToNull() const; + void setAdjacentToNull(); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. Filter by items that are missing episodes or not. + */ + const bool &isMissing() const; + void setIsMissing(bool newIsMissing); + bool isMissingNull() const; + void setIsMissingNull(); + + + /** + * @brief Optional. Filter by special season. + */ + const bool &isSpecialSeason() const; + void setIsSpecialSeason(bool newIsSpecialSeason); + bool isSpecialSeasonNull() const; + void setIsSpecialSeasonNull(); + + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_seriesId; + + // Required query parameters + + // Optional query parameters + QString m_adjacentTo; + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_isMissing = std::nullopt; + std::optional m_isSpecialSeason = std::nullopt; + QString m_userId; + +}; + +class GetSeriesRemoteSearchResultsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetSeriesTimerParams { +public: + + /** + * @brief Timer id. + */ + const QString &timerId() const; + void setTimerId(QString newTimerId); + + +private: + // Required path parameters + QString m_timerId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetSeriesTimersParams { +public: + + /** + * @brief Optional. Sort by SortName or Priority. + */ + const QString &sortBy() const; + void setSortBy(QString newSortBy); + bool sortByNull() const; + void setSortByNull(); + + + /** + * @brief Optional. Sort in Ascending or Descending order. + */ + const SortOrder &sortOrder() const; + void setSortOrder(SortOrder newSortOrder); + bool sortOrderNull() const; + void setSortOrderNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_sortBy; + SortOrder m_sortOrder; + +}; + +class GetServerLogsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetSessionsParams { +public: + + /** + * @brief Optional. Filter by sessions that were active in the last n seconds. + */ + const qint32 &activeWithinSeconds() const; + void setActiveWithinSeconds(qint32 newActiveWithinSeconds); + bool activeWithinSecondsNull() const; + void setActiveWithinSecondsNull(); + + + /** + * @brief Filter by sessions that a given user is allowed to remote control. + */ + const QString &controllableByUserId() const; + void setControllableByUserId(QString newControllableByUserId); + bool controllableByUserIdNull() const; + void setControllableByUserIdNull(); + + + /** + * @brief Filter by device Id. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_activeWithinSeconds = std::nullopt; + QString m_controllableByUserId; + QString m_deviceId; + +}; + +class GetSimilarAlbumsParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Exclude artist ids. + */ + const QStringList &excludeArtistIds() const; + void setExcludeArtistIds(QStringList newExcludeArtistIds); + bool excludeArtistIdsNull() const; + void setExcludeArtistIdsNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + QStringList m_excludeArtistIds; + QList m_fields; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetSimilarArtistsParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Exclude artist ids. + */ + const QStringList &excludeArtistIds() const; + void setExcludeArtistIds(QStringList newExcludeArtistIds); + bool excludeArtistIdsNull() const; + void setExcludeArtistIdsNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + QStringList m_excludeArtistIds; + QList m_fields; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetSimilarItemsParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Exclude artist ids. + */ + const QStringList &excludeArtistIds() const; + void setExcludeArtistIds(QStringList newExcludeArtistIds); + bool excludeArtistIdsNull() const; + void setExcludeArtistIdsNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + QStringList m_excludeArtistIds; + QList m_fields; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetSimilarMoviesParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Exclude artist ids. + */ + const QStringList &excludeArtistIds() const; + void setExcludeArtistIds(QStringList newExcludeArtistIds); + bool excludeArtistIdsNull() const; + void setExcludeArtistIdsNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + QStringList m_excludeArtistIds; + QList m_fields; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetSimilarShowsParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Exclude artist ids. + */ + const QStringList &excludeArtistIds() const; + void setExcludeArtistIds(QStringList newExcludeArtistIds); + bool excludeArtistIdsNull() const; + void setExcludeArtistIdsNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + QStringList m_excludeArtistIds; + QList m_fields; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetSimilarTrailersParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Exclude artist ids. + */ + const QStringList &excludeArtistIds() const; + void setExcludeArtistIds(QStringList newExcludeArtistIds); + bool excludeArtistIdsNull() const; + void setExcludeArtistIdsNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + QStringList m_excludeArtistIds; + QList m_fields; + std::optional m_limit = std::nullopt; + QString m_userId; + +}; + +class GetSpecialFeaturesParams { +public: /** * @brief Item id. */ - QString itemId() const; - void setItemId(QString newItemId) const; + const QString &itemId() const; + void setItemId(QString newItemId); + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetStartupConfigurationParams { +public: private: // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetStatusParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetStudioParams { +public: + + /** + * @brief Studio name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_name; + + // Required query parameters + + // Optional query parameters QString m_userId; + +}; + +class GetStudioImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Studio name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetStudioImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Studio name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetStudiosParams { +public: + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional, include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional, include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional, the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional filter by items that are marked as favorite, or not. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional filter by items whose name is equally or lesser than a given input string. + */ + const QString &nameLessThan() const; + void setNameLessThan(QString newNameLessThan); + bool nameLessThanNull() const; + void setNameLessThanNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally than a given input string. + */ + const QString &nameStartsWith() const; + void setNameStartsWith(QString newNameStartsWith); + bool nameStartsWithNull() const; + void setNameStartsWithNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally or greater than a given input string. + */ + const QString &nameStartsWithOrGreater() const; + void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater); + bool nameStartsWithOrGreaterNull() const; + void setNameStartsWithOrGreaterNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional. Search term. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + bool searchTermNull() const; + void setSearchTermNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QStringList m_excludeItemTypes; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + QStringList m_includeItemTypes; + std::optional m_isFavorite = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_nameLessThan; + QString m_nameStartsWith; + QString m_nameStartsWithOrGreater; + QString m_parentId; + QString m_searchTerm; + std::optional m_startIndex = std::nullopt; + QString m_userId; + +}; + +class GetSubtitleParams { +public: + + /** + * @brief The format of the returned subtitle. + */ + const QString &format() const; + void setFormat(QString newFormat); + + + /** + * @brief The subtitle stream index. + */ + const qint32 &index() const; + void setIndex(qint32 newIndex); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The media source id. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + + + /** + * @brief Optional. Whether to add a VTT time map. + */ + const bool &addVttTimeMap() const; + void setAddVttTimeMap(bool newAddVttTimeMap); + bool addVttTimeMapNull() const; + void setAddVttTimeMapNull(); + + + /** + * @brief Optional. Whether to copy the timestamps. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The end position of the subtitle in ticks. + */ + const qint64 &endPositionTicks() const; + void setEndPositionTicks(qint64 newEndPositionTicks); + bool endPositionTicksNull() const; + void setEndPositionTicksNull(); + + + /** + * @brief Optional. The start position of the subtitle in ticks. + */ + const qint64 &startPositionTicks() const; + void setStartPositionTicks(qint64 newStartPositionTicks); + bool startPositionTicksNull() const; + void setStartPositionTicksNull(); + + +private: + // Required path parameters + QString m_format; + qint32 m_index; + QString m_itemId; + QString m_mediaSourceId; + + // Required query parameters + + // Optional query parameters + std::optional m_addVttTimeMap = std::nullopt; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_endPositionTicks = std::nullopt; + std::optional m_startPositionTicks = std::nullopt; + +}; + +class GetSubtitlePlaylistParams { +public: + + /** + * @brief The subtitle stream index. + */ + const qint32 &index() const; + void setIndex(qint32 newIndex); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The media source id. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + + + /** + * @brief The subtitle segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + + +private: + // Required path parameters + qint32 m_index; + QString m_itemId; + QString m_mediaSourceId; + + // Required query parameters + qint32 m_segmentLength; + + // Optional query parameters + +}; + +class GetSubtitleWithTicksParams { +public: + + /** + * @brief The format of the returned subtitle. + */ + const QString &format() const; + void setFormat(QString newFormat); + + + /** + * @brief The subtitle stream index. + */ + const qint32 &index() const; + void setIndex(qint32 newIndex); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The media source id. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + + + /** + * @brief Optional. The start position of the subtitle in ticks. + */ + const qint64 &startPositionTicks() const; + void setStartPositionTicks(qint64 newStartPositionTicks); + + + /** + * @brief Optional. Whether to add a VTT time map. + */ + const bool &addVttTimeMap() const; + void setAddVttTimeMap(bool newAddVttTimeMap); + bool addVttTimeMapNull() const; + void setAddVttTimeMapNull(); + + + /** + * @brief Optional. Whether to copy the timestamps. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The end position of the subtitle in ticks. + */ + const qint64 &endPositionTicks() const; + void setEndPositionTicks(qint64 newEndPositionTicks); + bool endPositionTicksNull() const; + void setEndPositionTicksNull(); + + +private: + // Required path parameters + QString m_format; + qint32 m_index; + QString m_itemId; + QString m_mediaSourceId; + qint64 m_startPositionTicks; + + // Required query parameters + + // Optional query parameters + std::optional m_addVttTimeMap = std::nullopt; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_endPositionTicks = std::nullopt; + +}; + +class GetSuggestionsParams { +public: + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Whether to enable the total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional. The limit. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief The media types. + */ + const QStringList &mediaType() const; + void setMediaType(QStringList newMediaType); + bool mediaTypeNull() const; + void setMediaTypeNull(); + + + /** + * @brief Optional. The start index. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief The type. + */ + const QStringList &type() const; + void setType(QStringList newType); + bool typeNull() const; + void setTypeNull(); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_limit = std::nullopt; + QStringList m_mediaType; + std::optional m_startIndex = std::nullopt; + QStringList m_type; + +}; + +class GetSystemInfoParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetTaskParams { +public: + + /** + * @brief Task Id. + */ + const QString &taskId() const; + void setTaskId(QString newTaskId); + + +private: + // Required path parameters + QString m_taskId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetTasksParams { +public: + + /** + * @brief Optional filter tasks that are enabled, or not. + */ + const bool &isEnabled() const; + void setIsEnabled(bool newIsEnabled); + bool isEnabledNull() const; + void setIsEnabledNull(); + + + /** + * @brief Optional filter tasks that are hidden, or not. + */ + const bool &isHidden() const; + void setIsHidden(bool newIsHidden); + bool isHiddenNull() const; + void setIsHiddenNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_isEnabled = std::nullopt; + std::optional m_isHidden = std::nullopt; + +}; + +class GetThemeMediaParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Determines whether or not parent items should be searched for theme media. + */ + const bool &inheritFromParent() const; + void setInheritFromParent(bool newInheritFromParent); + bool inheritFromParentNull() const; + void setInheritFromParentNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters QString m_itemId; // Required query parameters + + // Optional query parameters + std::optional m_inheritFromParent = std::nullopt; + QString m_userId; + +}; + +class GetThemeSongsParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + - // Optional path parameters + /** + * @brief Optional. Determines whether or not parent items should be searched for theme media. + */ + const bool &inheritFromParent() const; + void setInheritFromParent(bool newInheritFromParent); + bool inheritFromParentNull() const; + void setInheritFromParentNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_inheritFromParent = std::nullopt; + QString m_userId; + +}; + +class GetThemeVideosParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Determines whether or not parent items should be searched for theme media. + */ + const bool &inheritFromParent() const; + void setInheritFromParent(bool newInheritFromParent); + bool inheritFromParentNull() const; + void setInheritFromParentNull(); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_inheritFromParent = std::nullopt; + QString m_userId; + +}; + +class GetTimerParams { +public: + + /** + * @brief Timer id. + */ + const QString &timerId() const; + void setTimerId(QString newTimerId); + + +private: + // Required path parameters + QString m_timerId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetTimersParams { +public: + + /** + * @brief Optional. Filter by channel id. + */ + const QString &channelId() const; + void setChannelId(QString newChannelId); + bool channelIdNull() const; + void setChannelIdNull(); + + + /** + * @brief Optional. Filter by timers that are active. + */ + const bool &isActive() const; + void setIsActive(bool newIsActive); + bool isActiveNull() const; + void setIsActiveNull(); + + + /** + * @brief Optional. Filter by timers that are scheduled. + */ + const bool &isScheduled() const; + void setIsScheduled(bool newIsScheduled); + bool isScheduledNull() const; + void setIsScheduledNull(); + + + /** + * @brief Optional. Filter by timers belonging to a series timer. + */ + const QString &seriesTimerId() const; + void setSeriesTimerId(QString newSeriesTimerId); + bool seriesTimerIdNull() const; + void setSeriesTimerIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_channelId; + std::optional m_isActive = std::nullopt; + std::optional m_isScheduled = std::nullopt; + QString m_seriesTimerId; + +}; + +class GetTrailerRemoteSearchResultsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetTrailersParams { +public: + + /** + * @brief Optional. Return items that are siblings of a supplied item. + */ + const QString &adjacentTo() const; + void setAdjacentTo(QString newAdjacentTo); + bool adjacentToNull() const; + void setAdjacentToNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified album artist id. + */ + const QStringList &albumArtistIds() const; + void setAlbumArtistIds(QStringList newAlbumArtistIds); + bool albumArtistIdsNull() const; + void setAlbumArtistIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited. + */ + const QStringList &albumIds() const; + void setAlbumIds(QStringList newAlbumIds); + bool albumIdsNull() const; + void setAlbumIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited. + */ + const QStringList &albums() const; + void setAlbums(QStringList newAlbums); + bool albumsNull() const; + void setAlbumsNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified artist id. + */ + const QStringList &artistIds() const; + void setArtistIds(QStringList newArtistIds); + bool artistIdsNull() const; + void setArtistIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited. + */ + const QStringList &artists() const; + void setArtists(QStringList newArtists); + bool artistsNull() const; + void setArtistsNull(); + + + /** + * @brief Whether or not to hide items behind their boxsets. + */ + const bool &collapseBoxSetItems() const; + void setCollapseBoxSetItems(bool newCollapseBoxSetItems); + bool collapseBoxSetItemsNull() const; + void setCollapseBoxSetItemsNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified contributing artist id. + */ + const QStringList &contributingArtistIds() const; + void setContributingArtistIds(QStringList newContributingArtistIds); + bool contributingArtistIdsNull() const; + void setContributingArtistIdsNull(); + + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional, include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Enable the total record count. + */ + const bool &enableTotalRecordCount() const; + void setEnableTotalRecordCount(bool newEnableTotalRecordCount); + bool enableTotalRecordCountNull() const; + void setEnableTotalRecordCountNull(); + + + /** + * @brief Optional, include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited. + */ + const QStringList &excludeArtistIds() const; + void setExcludeArtistIds(QStringList newExcludeArtistIds); + bool excludeArtistIdsNull() const; + void setExcludeArtistIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited. + */ + const QStringList &excludeItemIds() const; + void setExcludeItemIds(QStringList newExcludeItemIds); + bool excludeItemIdsNull() const; + void setExcludeItemIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited. + */ + const QList &excludeLocationTypes() const; + void setExcludeLocationTypes(QList newExcludeLocationTypes); + bool excludeLocationTypesNull() const; + void setExcludeLocationTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. + */ + const QList &filters() const; + void setFilters(QList newFilters); + bool filtersNull() const; + void setFiltersNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. + */ + const QStringList &genreIds() const; + void setGenreIds(QStringList newGenreIds); + bool genreIdsNull() const; + void setGenreIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. + */ + const QStringList &genres() const; + void setGenres(QStringList newGenres); + bool genresNull() const; + void setGenresNull(); + + + /** + * @brief Optional filter by items that have an imdb id or not. + */ + const bool &hasImdbId() const; + void setHasImdbId(bool newHasImdbId); + bool hasImdbIdNull() const; + void setHasImdbIdNull(); + + + /** + * @brief Optional filter by items that have official ratings. + */ + const bool &hasOfficialRating() const; + void setHasOfficialRating(bool newHasOfficialRating); + bool hasOfficialRatingNull() const; + void setHasOfficialRatingNull(); + + + /** + * @brief Optional filter by items that have an overview or not. + */ + const bool &hasOverview() const; + void setHasOverview(bool newHasOverview); + bool hasOverviewNull() const; + void setHasOverviewNull(); + + + /** + * @brief Optional filter by items that have or do not have a parental rating. + */ + const bool &hasParentalRating() const; + void setHasParentalRating(bool newHasParentalRating); + bool hasParentalRatingNull() const; + void setHasParentalRatingNull(); + + + /** + * @brief Optional filter by items with special features. + */ + const bool &hasSpecialFeature() const; + void setHasSpecialFeature(bool newHasSpecialFeature); + bool hasSpecialFeatureNull() const; + void setHasSpecialFeatureNull(); + + + /** + * @brief Optional filter by items with subtitles. + */ + const bool &hasSubtitles() const; + void setHasSubtitles(bool newHasSubtitles); + bool hasSubtitlesNull() const; + void setHasSubtitlesNull(); + + + /** + * @brief Optional filter by items with theme songs. + */ + const bool &hasThemeSong() const; + void setHasThemeSong(bool newHasThemeSong); + bool hasThemeSongNull() const; + void setHasThemeSongNull(); + + + /** + * @brief Optional filter by items with theme videos. + */ + const bool &hasThemeVideo() const; + void setHasThemeVideo(bool newHasThemeVideo); + bool hasThemeVideoNull() const; + void setHasThemeVideoNull(); + + + /** + * @brief Optional filter by items that have a tmdb id or not. + */ + const bool &hasTmdbId() const; + void setHasTmdbId(bool newHasTmdbId); + bool hasTmdbIdNull() const; + void setHasTmdbIdNull(); + + + /** + * @brief Optional filter by items with trailers. + */ + const bool &hasTrailer() const; + void setHasTrailer(bool newHasTrailer); + bool hasTrailerNull() const; + void setHasTrailerNull(); + + + /** + * @brief Optional filter by items that have a tvdb id or not. + */ + const bool &hasTvdbId() const; + void setHasTvdbId(bool newHasTvdbId); + bool hasTvdbIdNull() const; + void setHasTvdbIdNull(); + + + /** + * @brief Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited. + */ + const QStringList &ids() const; + void setIds(QStringList newIds); + bool idsNull() const; + void setIdsNull(); + + + /** + * @brief Optional, the max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. + */ + const QList &imageTypes() const; + void setImageTypes(QList newImageTypes); + bool imageTypesNull() const; + void setImageTypesNull(); + + + /** + * @brief Optional filter by items that are 3D, or not. + */ + const bool &is3D() const; + void setIs3D(bool newIs3D); + bool is3DNull() const; + void setIs3DNull(); + + + /** + * @brief Optional filter by items that are 4K or not. + */ + const bool &is4K() const; + void setIs4K(bool newIs4K); + bool is4KNull() const; + void setIs4KNull(); + + + /** + * @brief Optional filter by items that are marked as favorite, or not. + */ + const bool &isFavorite() const; + void setIsFavorite(bool newIsFavorite); + bool isFavoriteNull() const; + void setIsFavoriteNull(); + + + /** + * @brief Optional filter by items that are HD or not. + */ + const bool &isHd() const; + void setIsHd(bool newIsHd); + bool isHdNull() const; + void setIsHdNull(); + + + /** + * @brief Optional filter by items that are locked. + */ + const bool &isLocked() const; + void setIsLocked(bool newIsLocked); + bool isLockedNull() const; + void setIsLockedNull(); + + + /** + * @brief Optional filter by items that are missing episodes or not. + */ + const bool &isMissing() const; + void setIsMissing(bool newIsMissing); + bool isMissingNull() const; + void setIsMissingNull(); + + + /** + * @brief Optional filter by items that are placeholders. + */ + const bool &isPlaceHolder() const; + void setIsPlaceHolder(bool newIsPlaceHolder); + bool isPlaceHolderNull() const; + void setIsPlaceHolderNull(); + + + /** + * @brief Optional filter by items that are played, or not. + */ + const bool &isPlayed() const; + void setIsPlayed(bool newIsPlayed); + bool isPlayedNull() const; + void setIsPlayedNull(); + + + /** + * @brief Optional filter by items that are unaired episodes or not. + */ + const bool &isUnaired() const; + void setIsUnaired(bool newIsUnaired); + bool isUnairedNull() const; + void setIsUnairedNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited. + */ + const QList &locationTypes() const; + void setLocationTypes(QList newLocationTypes); + bool locationTypesNull() const; + void setLocationTypesNull(); + + + /** + * @brief Optional. Filter by the maximum height of the item. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). + */ + const QString &maxOfficialRating() const; + void setMaxOfficialRating(QString newMaxOfficialRating); + bool maxOfficialRatingNull() const; + void setMaxOfficialRatingNull(); + + + /** + * @brief Optional. The maximum premiere date. Format = ISO. + */ + const QDateTime &maxPremiereDate() const; + void setMaxPremiereDate(QDateTime newMaxPremiereDate); + bool maxPremiereDateNull() const; + void setMaxPremiereDateNull(); + + + /** + * @brief Optional. Filter by the maximum width of the item. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional filter by MediaType. Allows multiple, comma delimited. + */ + const QStringList &mediaTypes() const; + void setMediaTypes(QStringList newMediaTypes); + bool mediaTypesNull() const; + void setMediaTypesNull(); + + + /** + * @brief Optional filter by minimum community rating. + */ + const double &minCommunityRating() const; + void setMinCommunityRating(double newMinCommunityRating); + bool minCommunityRatingNull() const; + void setMinCommunityRatingNull(); + + + /** + * @brief Optional filter by minimum critic rating. + */ + const double &minCriticRating() const; + void setMinCriticRating(double newMinCriticRating); + bool minCriticRatingNull() const; + void setMinCriticRatingNull(); + + + /** + * @brief Optional. The minimum last saved date. Format = ISO. + */ + const QDateTime &minDateLastSaved() const; + void setMinDateLastSaved(QDateTime newMinDateLastSaved); + bool minDateLastSavedNull() const; + void setMinDateLastSavedNull(); + + + /** + * @brief Optional. The minimum last saved date for the current user. Format = ISO. + */ + const QDateTime &minDateLastSavedForUser() const; + void setMinDateLastSavedForUser(QDateTime newMinDateLastSavedForUser); + bool minDateLastSavedForUserNull() const; + void setMinDateLastSavedForUserNull(); + + + /** + * @brief Optional. Filter by the minimum height of the item. + */ + const qint32 &minHeight() const; + void setMinHeight(qint32 newMinHeight); + bool minHeightNull() const; + void setMinHeightNull(); + + + /** + * @brief Optional filter by minimum official rating (PG, PG-13, TV-MA, etc). + */ + const QString &minOfficialRating() const; + void setMinOfficialRating(QString newMinOfficialRating); + bool minOfficialRatingNull() const; + void setMinOfficialRatingNull(); + + + /** + * @brief Optional. The minimum premiere date. Format = ISO. + */ + const QDateTime &minPremiereDate() const; + void setMinPremiereDate(QDateTime newMinPremiereDate); + bool minPremiereDateNull() const; + void setMinPremiereDateNull(); + + + /** + * @brief Optional. Filter by the minimum width of the item. + */ + const qint32 &minWidth() const; + void setMinWidth(qint32 newMinWidth); + bool minWidthNull() const; + void setMinWidthNull(); + + + /** + * @brief Optional filter by items whose name is equally or lesser than a given input string. + */ + const QString &nameLessThan() const; + void setNameLessThan(QString newNameLessThan); + bool nameLessThanNull() const; + void setNameLessThanNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally than a given input string. + */ + const QString &nameStartsWith() const; + void setNameStartsWith(QString newNameStartsWith); + bool nameStartsWithNull() const; + void setNameStartsWithNull(); + + + /** + * @brief Optional filter by items whose name is sorted equally or greater than a given input string. + */ + const QString &nameStartsWithOrGreater() const; + void setNameStartsWithOrGreater(QString newNameStartsWithOrGreater); + bool nameStartsWithOrGreaterNull() const; + void setNameStartsWithOrGreaterNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. + */ + const QStringList &officialRatings() const; + void setOfficialRatings(QStringList newOfficialRatings); + bool officialRatingsNull() const; + void setOfficialRatingsNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional filter by parent index number. + */ + const qint32 &parentIndexNumber() const; + void setParentIndexNumber(qint32 newParentIndexNumber); + bool parentIndexNumberNull() const; + void setParentIndexNumberNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified person. + */ + const QString &person() const; + void setPerson(QString newPerson); + bool personNull() const; + void setPersonNull(); + + + /** + * @brief Optional. If specified, results will be filtered to include only those containing the specified person id. + */ + const QStringList &personIds() const; + void setPersonIds(QStringList newPersonIds); + bool personIdsNull() const; + void setPersonIdsNull(); + + + /** + * @brief Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited. + */ + const QStringList &personTypes() const; + void setPersonTypes(QStringList newPersonTypes); + bool personTypesNull() const; + void setPersonTypesNull(); + + + /** + * @brief When searching within folders, this determines whether or not the search will be recursive. true/false. + */ + const bool &recursive() const; + void setRecursive(bool newRecursive); + bool recursiveNull() const; + void setRecursiveNull(); + + + /** + * @brief Optional. Filter based on a search term. + */ + const QString &searchTerm() const; + void setSearchTerm(QString newSearchTerm); + bool searchTermNull() const; + void setSearchTermNull(); + + + /** + * @brief Optional filter by Series Status. Allows multiple, comma delimited. + */ + const QList &seriesStatus() const; + void setSeriesStatus(QList newSeriesStatus); + bool seriesStatusNull() const; + void setSeriesStatusNull(); + + + /** + * @brief Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + */ + const QString &sortBy() const; + void setSortBy(QString newSortBy); + bool sortByNull() const; + void setSortByNull(); + + + /** + * @brief Sort Order - Ascending,Descending. + */ + const QString &sortOrder() const; + void setSortOrder(QString newSortOrder); + bool sortOrderNull() const; + void setSortOrderNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited. + */ + const QStringList &studioIds() const; + void setStudioIds(QStringList newStudioIds); + bool studioIdsNull() const; + void setStudioIdsNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited. + */ + const QStringList &studios() const; + void setStudios(QStringList newStudios); + bool studiosNull() const; + void setStudiosNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited. + */ + const QStringList &tags() const; + void setTags(QStringList newTags); + bool tagsNull() const; + void setTagsNull(); + + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + + /** + * @brief Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited. + */ + const QList &videoTypes() const; + void setVideoTypes(QList newVideoTypes); + bool videoTypesNull() const; + void setVideoTypesNull(); + + + /** + * @brief Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited. + */ + const QList &years() const; + void setYears(QList newYears); + bool yearsNull() const; + void setYearsNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_adjacentTo; + QStringList m_albumArtistIds; + QStringList m_albumIds; + QStringList m_albums; + QStringList m_artistIds; + QStringList m_artists; + std::optional m_collapseBoxSetItems = std::nullopt; + QStringList m_contributingArtistIds; + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableTotalRecordCount = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QStringList m_excludeArtistIds; + QStringList m_excludeItemIds; + QStringList m_excludeItemTypes; + QList m_excludeLocationTypes; + QList m_fields; + QList m_filters; + QStringList m_genreIds; + QStringList m_genres; + std::optional m_hasImdbId = std::nullopt; + std::optional m_hasOfficialRating = std::nullopt; + std::optional m_hasOverview = std::nullopt; + std::optional m_hasParentalRating = std::nullopt; + std::optional m_hasSpecialFeature = std::nullopt; + std::optional m_hasSubtitles = std::nullopt; + std::optional m_hasThemeSong = std::nullopt; + std::optional m_hasThemeVideo = std::nullopt; + std::optional m_hasTmdbId = std::nullopt; + std::optional m_hasTrailer = std::nullopt; + std::optional m_hasTvdbId = std::nullopt; + QStringList m_ids; + std::optional m_imageTypeLimit = std::nullopt; + QList m_imageTypes; + std::optional m_is3D = std::nullopt; + std::optional m_is4K = std::nullopt; + std::optional m_isFavorite = std::nullopt; + std::optional m_isHd = std::nullopt; + std::optional m_isLocked = std::nullopt; + std::optional m_isMissing = std::nullopt; + std::optional m_isPlaceHolder = std::nullopt; + std::optional m_isPlayed = std::nullopt; + std::optional m_isUnaired = std::nullopt; + std::optional m_limit = std::nullopt; + QList m_locationTypes; + std::optional m_maxHeight = std::nullopt; + QString m_maxOfficialRating; + QDateTime m_maxPremiereDate; + std::optional m_maxWidth = std::nullopt; + QStringList m_mediaTypes; + std::optional m_minCommunityRating = std::nullopt; + std::optional m_minCriticRating = std::nullopt; + QDateTime m_minDateLastSaved; + QDateTime m_minDateLastSavedForUser; + std::optional m_minHeight = std::nullopt; + QString m_minOfficialRating; + QDateTime m_minPremiereDate; + std::optional m_minWidth = std::nullopt; + QString m_nameLessThan; + QString m_nameStartsWith; + QString m_nameStartsWithOrGreater; + QStringList m_officialRatings; + QString m_parentId; + std::optional m_parentIndexNumber = std::nullopt; + QString m_person; + QStringList m_personIds; + QStringList m_personTypes; + std::optional m_recursive = std::nullopt; + QString m_searchTerm; + QList m_seriesStatus; + QString m_sortBy; + QString m_sortOrder; + std::optional m_startIndex = std::nullopt; + QStringList m_studioIds; + QStringList m_studios; + QStringList m_tags; + QString m_userId; + QList m_videoTypes; + QList m_years; + +}; + +class GetTunerHostTypesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetUniversalAudioStreamParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. The audio codec to transcode to. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The audio container. + */ + const QStringList &container() const; + void setContainer(QStringList newContainer); + bool containerNull() const; + void setContainerNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Whether to enable redirection. Defaults to true. + */ + const bool &enableRedirection() const; + void setEnableRedirection(bool newEnableRedirection); + bool enableRedirectionNull() const; + void setEnableRedirectionNull(); + + + /** + * @brief Optional. Whether to enable remote media. + */ + const bool &enableRemoteMedia() const; + void setEnableRemoteMedia(bool newEnableRemoteMedia); + bool enableRemoteMediaNull() const; + void setEnableRemoteMediaNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. The maximum number of audio channels. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. The maximum audio sample rate. + */ + const qint32 &maxAudioSampleRate() const; + void setMaxAudioSampleRate(qint32 newMaxAudioSampleRate); + bool maxAudioSampleRateNull() const; + void setMaxAudioSampleRateNull(); + + + /** + * @brief Optional. The maximum streaming bitrate. + */ + const qint32 &maxStreamingBitrate() const; + void setMaxStreamingBitrate(qint32 newMaxStreamingBitrate); + bool maxStreamingBitrateNull() const; + void setMaxStreamingBitrateNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. The number of how many audio channels to transcode to. + */ + const qint32 &transcodingAudioChannels() const; + void setTranscodingAudioChannels(qint32 newTranscodingAudioChannels); + bool transcodingAudioChannelsNull() const; + void setTranscodingAudioChannelsNull(); + + + /** + * @brief Optional. The container to transcode to. + */ + const QString &transcodingContainer() const; + void setTranscodingContainer(QString newTranscodingContainer); + bool transcodingContainerNull() const; + void setTranscodingContainerNull(); + + + /** + * @brief Optional. The transcoding protocol. + */ + const QString &transcodingProtocol() const; + void setTranscodingProtocol(QString newTranscodingProtocol); + bool transcodingProtocolNull() const; + void setTranscodingProtocolNull(); + + + /** + * @brief Optional. The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_audioBitRate = std::nullopt; + QString m_audioCodec; + std::optional m_breakOnNonKeyFrames = std::nullopt; + QStringList m_container; + QString m_deviceId; + std::optional m_enableRedirection = std::nullopt; + std::optional m_enableRemoteMedia = std::nullopt; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxAudioSampleRate = std::nullopt; + std::optional m_maxStreamingBitrate = std::nullopt; + QString m_mediaSourceId; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_transcodingAudioChannels = std::nullopt; + QString m_transcodingContainer; + QString m_transcodingProtocol; + QString m_userId; + +}; + +class GetUpcomingEpisodesParams { +public: + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImges() const; + void setEnableImges(bool newEnableImges); + bool enableImgesNull() const; + void setEnableImgesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Optional. The record index to start at. All items with a lower index will be dropped from the results. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief The user id of the user to get the upcoming episodes for. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImges = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + std::optional m_limit = std::nullopt; + QString m_parentId; + std::optional m_startIndex = std::nullopt; + QString m_userId; + +}; + +class GetUserByIdParams { +public: + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class GetUserImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_userId; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetUserImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_userId; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetUserViewsParams { +public: + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Whether or not to include external views such as channels or live tv. + */ + const bool &includeExternalContent() const; + void setIncludeExternalContent(bool newIncludeExternalContent); + bool includeExternalContentNull() const; + void setIncludeExternalContentNull(); + + + /** + * @brief Whether or not to include hidden content. + */ + const bool &includeHidden() const; + void setIncludeHidden(bool newIncludeHidden); + bool includeHiddenNull() const; + void setIncludeHiddenNull(); + + + /** + * @brief Preset views. + */ + const QStringList &presetViews() const; + void setPresetViews(QStringList newPresetViews); + bool presetViewsNull() const; + void setPresetViewsNull(); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + std::optional m_includeExternalContent = std::nullopt; + std::optional m_includeHidden = std::nullopt; + QStringList m_presetViews; + +}; + +class GetUsersParams { +public: + + /** + * @brief Optional filter by IsDisabled=true or false. + */ + const bool &isDisabled() const; + void setIsDisabled(bool newIsDisabled); + bool isDisabledNull() const; + void setIsDisabledNull(); + + + /** + * @brief Optional filter by IsHidden=true or false. + */ + const bool &isHidden() const; + void setIsHidden(bool newIsHidden); + bool isHiddenNull() const; + void setIsHiddenNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_isDisabled = std::nullopt; + std::optional m_isHidden = std::nullopt; + +}; + +class GetUtcTimeParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetVariantHlsAudioPlaylistParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum streaming bitrate. + */ + const qint32 &maxStreamingBitrate() const; + void setMaxStreamingBitrate(qint32 newMaxStreamingBitrate); + bool maxStreamingBitrateNull() const; + void setMaxStreamingBitrateNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxStreamingBitrate = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetVariantHlsVideoPlaylistParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetVideoStreamParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + */ + const QString &container() const; + void setContainer(QString newContainer); + bool containerNull() const; + void setContainerNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + QString m_container; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetVideoStreamByContainerParams { +public: + + /** + * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + */ + const QString &container() const; + void setContainer(QString newContainer); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief + */ + const QString &stream() const; + void setStream(QString newStream); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamporphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment lenght. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_container; + QString m_itemId; + QString m_stream; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class GetVirtualFoldersParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetWakeOnLanInfoParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class GetYearParams { +public: + + /** + * @brief The year. + */ + const qint32 &year() const; + void setYear(qint32 newYear); + + + /** + * @brief Optional. Filter by user id, and attach user data. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + qint32 m_year; + + // Required query parameters + + // Optional query parameters + QString m_userId; + +}; + +class GetYearsParams { +public: + + /** + * @brief Optional. The image types to include in the output. + */ + const QList &enableImageTypes() const; + void setEnableImageTypes(QList newEnableImageTypes); + bool enableImageTypesNull() const; + void setEnableImageTypesNull(); + + + /** + * @brief Optional. Include image information in output. + */ + const bool &enableImages() const; + void setEnableImages(bool newEnableImages); + bool enableImagesNull() const; + void setEnableImagesNull(); + + + /** + * @brief Optional. Include user data. + */ + const bool &enableUserData() const; + void setEnableUserData(bool newEnableUserData); + bool enableUserDataNull() const; + void setEnableUserDataNull(); + + + /** + * @brief Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited. + */ + const QStringList &excludeItemTypes() const; + void setExcludeItemTypes(QStringList newExcludeItemTypes); + bool excludeItemTypesNull() const; + void setExcludeItemTypesNull(); + + + /** + * @brief Optional. Specify additional fields of information to return in the output. + */ + const QList &fields() const; + void setFields(QList newFields); + bool fieldsNull() const; + void setFieldsNull(); + + + /** + * @brief Optional. The max number of images to return, per image type. + */ + const qint32 &imageTypeLimit() const; + void setImageTypeLimit(qint32 newImageTypeLimit); + bool imageTypeLimitNull() const; + void setImageTypeLimitNull(); + + + /** + * @brief Optional. If specified, results will be included based on item type. This allows multiple, comma delimited. + */ + const QStringList &includeItemTypes() const; + void setIncludeItemTypes(QStringList newIncludeItemTypes); + bool includeItemTypesNull() const; + void setIncludeItemTypesNull(); + + + /** + * @brief Optional. The maximum number of records to return. + */ + const qint32 &limit() const; + void setLimit(qint32 newLimit); + bool limitNull() const; + void setLimitNull(); + + + /** + * @brief Optional. Filter by MediaType. Allows multiple, comma delimited. + */ + const QStringList &mediaTypes() const; + void setMediaTypes(QStringList newMediaTypes); + bool mediaTypesNull() const; + void setMediaTypesNull(); + + + /** + * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. + */ + const QString &parentId() const; + void setParentId(QString newParentId); + bool parentIdNull() const; + void setParentIdNull(); + + + /** + * @brief Search recursively. + */ + const bool &recursive() const; + void setRecursive(bool newRecursive); + bool recursiveNull() const; + void setRecursiveNull(); + + + /** + * @brief Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + */ + const QString &sortBy() const; + void setSortBy(QString newSortBy); + bool sortByNull() const; + void setSortByNull(); + + + /** + * @brief Sort Order - Ascending,Descending. + */ + const QString &sortOrder() const; + void setSortOrder(QString newSortOrder); + bool sortOrderNull() const; + void setSortOrderNull(); + + + /** + * @brief Skips over a given number of items within the results. Use for paging. + */ + const qint32 &startIndex() const; + void setStartIndex(qint32 newStartIndex); + bool startIndexNull() const; + void setStartIndexNull(); + + + /** + * @brief User Id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QList m_enableImageTypes; + std::optional m_enableImages = std::nullopt; + std::optional m_enableUserData = std::nullopt; + QStringList m_excludeItemTypes; + QList m_fields; + std::optional m_imageTypeLimit = std::nullopt; + QStringList m_includeItemTypes; + std::optional m_limit = std::nullopt; + QStringList m_mediaTypes; + QString m_parentId; + std::optional m_recursive = std::nullopt; + QString m_sortBy; + QString m_sortOrder; + std::optional m_startIndex = std::nullopt; + QString m_userId; + +}; + +class HeadArtistImageParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Artist name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadAudioStreamParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief The audio container. + */ + const QString &container() const; + void setContainer(QString newContainer); + bool containerNull() const; + void setContainerNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + QString m_container; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadAudioStreamByContainerParams { +public: + + /** + * @brief The audio container. + */ + const QString &container() const; + void setContainer(QString newContainer); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamporphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment lenght. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_container; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadGenreImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Genre name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadGenreImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Genre name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadItemImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadItemImage2Params { +public: + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageFormat m_format; + qint32 m_imageIndex; + ImageType m_imageType; + QString m_itemId; + qint32 m_maxHeight; + qint32 m_maxWidth; + double m_percentPlayed; + QString m_tag; + qint32 m_unplayedCount; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + std::optional m_height = std::nullopt; + std::optional m_quality = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadItemImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadMasterHlsAudioPlaylistParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Enable adaptive bitrate streaming. + */ + const bool &enableAdaptiveBitrateStreaming() const; + void setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming); + bool enableAdaptiveBitrateStreamingNull() const; + void setEnableAdaptiveBitrateStreamingNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum streaming bitrate. + */ + const qint32 &maxStreamingBitrate() const; + void setMaxStreamingBitrate(qint32 newMaxStreamingBitrate); + bool maxStreamingBitrateNull() const; + void setMaxStreamingBitrateNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + QString m_mediaSourceId; + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAdaptiveBitrateStreaming = std::nullopt; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxStreamingBitrate = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadMasterHlsVideoPlaylistParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Enable adaptive bitrate streaming. + */ + const bool &enableAdaptiveBitrateStreaming() const; + void setEnableAdaptiveBitrateStreaming(bool newEnableAdaptiveBitrateStreaming); + bool enableAdaptiveBitrateStreamingNull() const; + void setEnableAdaptiveBitrateStreamingNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + QString m_mediaSourceId; + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAdaptiveBitrateStreaming = std::nullopt; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadMusicGenreImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Music genre name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadMusicGenreImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Music genre name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadPersonImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Person name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadPersonImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Person name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadStudioImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Studio name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadStudioImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Studio name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_name; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadUniversalAudioStreamParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. The audio codec to transcode to. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The audio container. + */ + const QStringList &container() const; + void setContainer(QStringList newContainer); + bool containerNull() const; + void setContainerNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Whether to enable redirection. Defaults to true. + */ + const bool &enableRedirection() const; + void setEnableRedirection(bool newEnableRedirection); + bool enableRedirectionNull() const; + void setEnableRedirectionNull(); + + + /** + * @brief Optional. Whether to enable remote media. + */ + const bool &enableRemoteMedia() const; + void setEnableRemoteMedia(bool newEnableRemoteMedia); + bool enableRemoteMediaNull() const; + void setEnableRemoteMediaNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. The maximum number of audio channels. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. The maximum audio sample rate. + */ + const qint32 &maxAudioSampleRate() const; + void setMaxAudioSampleRate(qint32 newMaxAudioSampleRate); + bool maxAudioSampleRateNull() const; + void setMaxAudioSampleRateNull(); + + + /** + * @brief Optional. The maximum streaming bitrate. + */ + const qint32 &maxStreamingBitrate() const; + void setMaxStreamingBitrate(qint32 newMaxStreamingBitrate); + bool maxStreamingBitrateNull() const; + void setMaxStreamingBitrateNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. The number of how many audio channels to transcode to. + */ + const qint32 &transcodingAudioChannels() const; + void setTranscodingAudioChannels(qint32 newTranscodingAudioChannels); + bool transcodingAudioChannelsNull() const; + void setTranscodingAudioChannelsNull(); + + + /** + * @brief Optional. The container to transcode to. + */ + const QString &transcodingContainer() const; + void setTranscodingContainer(QString newTranscodingContainer); + bool transcodingContainerNull() const; + void setTranscodingContainerNull(); + + + /** + * @brief Optional. The transcoding protocol. + */ + const QString &transcodingProtocol() const; + void setTranscodingProtocol(QString newTranscodingProtocol); + bool transcodingProtocolNull() const; + void setTranscodingProtocolNull(); + + + /** + * @brief Optional. The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_audioBitRate = std::nullopt; + QString m_audioCodec; + std::optional m_breakOnNonKeyFrames = std::nullopt; + QStringList m_container; + QString m_deviceId; + std::optional m_enableRedirection = std::nullopt; + std::optional m_enableRemoteMedia = std::nullopt; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxAudioSampleRate = std::nullopt; + std::optional m_maxStreamingBitrate = std::nullopt; + QString m_mediaSourceId; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_transcodingAudioChannels = std::nullopt; + QString m_transcodingContainer; + QString m_transcodingProtocol; + QString m_userId; + +}; + +class HeadUserImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + bool imageIndexNull() const; + void setImageIndexNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_userId; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_imageIndex = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadUserImageByIndexParams { +public: + + /** + * @brief Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Optional. Add a played indicator. + */ + const bool &addPlayedIndicator() const; + void setAddPlayedIndicator(bool newAddPlayedIndicator); + bool addPlayedIndicatorNull() const; + void setAddPlayedIndicatorNull(); + + + /** + * @brief Optional. Apply a background color for transparent images. + */ + const QString &backgroundColor() const; + void setBackgroundColor(QString newBackgroundColor); + bool backgroundColorNull() const; + void setBackgroundColorNull(); + + + /** + * @brief Optional. Blur image. + */ + const qint32 &blur() const; + void setBlur(qint32 newBlur); + bool blurNull() const; + void setBlurNull(); + + + /** + * @brief Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. + */ + const bool &cropWhitespace() const; + void setCropWhitespace(bool newCropWhitespace); + bool cropWhitespaceNull() const; + void setCropWhitespaceNull(); + + + /** + * @brief Optional. Apply a foreground layer on top of the image. + */ + const QString &foregroundLayer() const; + void setForegroundLayer(QString newForegroundLayer); + bool foregroundLayerNull() const; + void setForegroundLayerNull(); + + + /** + * @brief Determines the output format of the image - original,gif,jpg,png. + */ + const ImageFormat &format() const; + void setFormat(ImageFormat newFormat); + bool formatNull() const; + void setFormatNull(); + + + /** + * @brief The fixed image height to return. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief The maximum image height to return. + */ + const qint32 &maxHeight() const; + void setMaxHeight(qint32 newMaxHeight); + bool maxHeightNull() const; + void setMaxHeightNull(); + + + /** + * @brief The maximum image width to return. + */ + const qint32 &maxWidth() const; + void setMaxWidth(qint32 newMaxWidth); + bool maxWidthNull() const; + void setMaxWidthNull(); + + + /** + * @brief Optional. Percent to render for the percent played overlay. + */ + const double &percentPlayed() const; + void setPercentPlayed(double newPercentPlayed); + bool percentPlayedNull() const; + void setPercentPlayedNull(); + + + /** + * @brief Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases. + */ + const qint32 &quality() const; + void setQuality(qint32 newQuality); + bool qualityNull() const; + void setQualityNull(); + + + /** + * @brief Optional. Supply the cache tag from the item object to receive strong caching headers. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. Unplayed count overlay to render. + */ + const qint32 &unplayedCount() const; + void setUnplayedCount(qint32 newUnplayedCount); + bool unplayedCountNull() const; + void setUnplayedCountNull(); + + + /** + * @brief The fixed image width to return. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_userId; + + // Required query parameters + + // Optional query parameters + std::optional m_addPlayedIndicator = std::nullopt; + QString m_backgroundColor; + std::optional m_blur = std::nullopt; + std::optional m_cropWhitespace = std::nullopt; + QString m_foregroundLayer; + ImageFormat m_format; + std::optional m_height = std::nullopt; + std::optional m_maxHeight = std::nullopt; + std::optional m_maxWidth = std::nullopt; + std::optional m_percentPlayed = std::nullopt; + std::optional m_quality = std::nullopt; + QString m_tag; + std::optional m_unplayedCount = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadVideoStreamParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + */ + const QString &container() const; + void setContainer(QString newContainer); + bool containerNull() const; + void setContainerNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamorphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment length. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + QString m_container; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class HeadVideoStreamByContainerParams { +public: + + /** + * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. + */ + const QString &container() const; + void setContainer(QString newContainer); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief + */ + const QString &stream() const; + void setStream(QString newStream); + + + /** + * @brief Whether or not to allow copying of the audio stream url. + */ + const bool &allowAudioStreamCopy() const; + void setAllowAudioStreamCopy(bool newAllowAudioStreamCopy); + bool allowAudioStreamCopyNull() const; + void setAllowAudioStreamCopyNull(); + + + /** + * @brief Whether or not to allow copying of the video stream url. + */ + const bool &allowVideoStreamCopy() const; + void setAllowVideoStreamCopy(bool newAllowVideoStreamCopy); + bool allowVideoStreamCopyNull() const; + void setAllowVideoStreamCopyNull(); + + + /** + * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. + */ + const qint32 &audioBitRate() const; + void setAudioBitRate(qint32 newAudioBitRate); + bool audioBitRateNull() const; + void setAudioBitRateNull(); + + + /** + * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. + */ + const qint32 &audioChannels() const; + void setAudioChannels(qint32 newAudioChannels); + bool audioChannelsNull() const; + void setAudioChannelsNull(); + + + /** + * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. + */ + const QString &audioCodec() const; + void setAudioCodec(QString newAudioCodec); + bool audioCodecNull() const; + void setAudioCodecNull(); + + + /** + * @brief Optional. Specify a specific audio sample rate, e.g. 44100. + */ + const qint32 &audioSampleRate() const; + void setAudioSampleRate(qint32 newAudioSampleRate); + bool audioSampleRateNull() const; + void setAudioSampleRateNull(); + + + /** + * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Optional. Whether to break on non key frames. + */ + const bool &breakOnNonKeyFrames() const; + void setBreakOnNonKeyFrames(bool newBreakOnNonKeyFrames); + bool breakOnNonKeyFramesNull() const; + void setBreakOnNonKeyFramesNull(); + + + /** + * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. + */ + const EncodingContext &context() const; + void setContext(EncodingContext newContext); + bool contextNull() const; + void setContextNull(); + + + /** + * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. + */ + const bool ©Timestamps() const; + void setCopyTimestamps(bool newCopyTimestamps); + bool copyTimestampsNull() const; + void setCopyTimestampsNull(); + + + /** + * @brief Optional. The limit of how many cpu cores to use. + */ + const qint32 &cpuCoreLimit() const; + void setCpuCoreLimit(qint32 newCpuCoreLimit); + bool cpuCoreLimitNull() const; + void setCpuCoreLimitNull(); + + + /** + * @brief Optional. Whether to deinterlace the video. + */ + const bool &deInterlace() const; + void setDeInterlace(bool newDeInterlace); + bool deInterlaceNull() const; + void setDeInterlaceNull(); + + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief Optional. The dlna device profile id to utilize. + */ + const QString &deviceProfileId() const; + void setDeviceProfileId(QString newDeviceProfileId); + bool deviceProfileIdNull() const; + void setDeviceProfileIdNull(); + + + /** + * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. + */ + const bool &enableAutoStreamCopy() const; + void setEnableAutoStreamCopy(bool newEnableAutoStreamCopy); + bool enableAutoStreamCopyNull() const; + void setEnableAutoStreamCopyNull(); + + + /** + * @brief Optional. Whether to enable the MpegtsM2Ts mode. + */ + const bool &enableMpegtsM2TsMode() const; + void setEnableMpegtsM2TsMode(bool newEnableMpegtsM2TsMode); + bool enableMpegtsM2TsModeNull() const; + void setEnableMpegtsM2TsModeNull(); + + + /** + * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &framerate() const; + void setFramerate(float newFramerate); + bool framerateNull() const; + void setFramerateNull(); + + + /** + * @brief Optional. The fixed vertical resolution of the encoded video. + */ + const qint32 &height() const; + void setHeight(qint32 newHeight); + bool heightNull() const; + void setHeightNull(); + + + /** + * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. + */ + const QString &level() const; + void setLevel(QString newLevel); + bool levelNull() const; + void setLevelNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief Optional. The maximum audio bit depth. + */ + const qint32 &maxAudioBitDepth() const; + void setMaxAudioBitDepth(qint32 newMaxAudioBitDepth); + bool maxAudioBitDepthNull() const; + void setMaxAudioBitDepthNull(); + + + /** + * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. + */ + const float &maxFramerate() const; + void setMaxFramerate(float newMaxFramerate); + bool maxFramerateNull() const; + void setMaxFramerateNull(); + + + /** + * @brief Optional. + */ + const qint32 &maxRefFrames() const; + void setMaxRefFrames(qint32 newMaxRefFrames); + bool maxRefFramesNull() const; + void setMaxRefFramesNull(); + + + /** + * @brief Optional. The maximum video bit depth. + */ + const qint32 &maxVideoBitDepth() const; + void setMaxVideoBitDepth(qint32 newMaxVideoBitDepth); + bool maxVideoBitDepthNull() const; + void setMaxVideoBitDepthNull(); + + + /** + * @brief The media version id, if playing an alternate version. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The minimum number of segments. + */ + const qint32 &minSegments() const; + void setMinSegments(qint32 newMinSegments); + bool minSegmentsNull() const; + void setMinSegmentsNull(); + + + /** + * @brief The streaming parameters. + */ + const QString ¶ms() const; + void setParams(QString newParams); + bool paramsNull() const; + void setParamsNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. + */ + const QString &profile() const; + void setProfile(QString newProfile); + bool profileNull() const; + void setProfileNull(); + + + /** + * @brief Optional. Whether to require avc. + */ + const bool &requireAvc() const; + void setRequireAvc(bool newRequireAvc); + bool requireAvcNull() const; + void setRequireAvcNull(); + + + /** + * @brief Optional. Whether to require a non anamporphic stream. + */ + const bool &requireNonAnamorphic() const; + void setRequireNonAnamorphic(bool newRequireNonAnamorphic); + bool requireNonAnamorphicNull() const; + void setRequireNonAnamorphicNull(); + + + /** + * @brief The segment container. + */ + const QString &segmentContainer() const; + void setSegmentContainer(QString newSegmentContainer); + bool segmentContainerNull() const; + void setSegmentContainerNull(); + + + /** + * @brief The segment lenght. + */ + const qint32 &segmentLength() const; + void setSegmentLength(qint32 newSegmentLength); + bool segmentLengthNull() const; + void setSegmentLengthNull(); + + + /** + * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. + */ + const bool &staticStreaming() const; + void setStaticStreaming(bool newStaticStreaming); + bool staticStreamingNull() const; + void setStaticStreamingNull(); + + + /** + * @brief Optional. The streaming options. + */ + const QJsonObject &streamOptions() const; + void setStreamOptions(QJsonObject newStreamOptions); + bool streamOptionsNull() const; + void setStreamOptionsNull(); + + + /** + * @brief Optional. Specify a subtitle codec to encode to. + */ + const QString &subtitleCodec() const; + void setSubtitleCodec(QString newSubtitleCodec); + bool subtitleCodecNull() const; + void setSubtitleCodecNull(); + + + /** + * @brief Optional. Specify the subtitle delivery method. + */ + const SubtitleDeliveryMethod &subtitleMethod() const; + void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod); + bool subtitleMethodNull() const; + void setSubtitleMethodNull(); + + + /** + * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The tag. + */ + const QString &tag() const; + void setTag(QString newTag); + bool tagNull() const; + void setTagNull(); + + + /** + * @brief Optional. The transcoding reason. + */ + const QString &transcodeReasons() const; + void setTranscodeReasons(QString newTranscodeReasons); + bool transcodeReasonsNull() const; + void setTranscodeReasonsNull(); + + + /** + * @brief Optional. The maximum number of audio channels to transcode. + */ + const qint32 &transcodingMaxAudioChannels() const; + void setTranscodingMaxAudioChannels(qint32 newTranscodingMaxAudioChannels); + bool transcodingMaxAudioChannelsNull() const; + void setTranscodingMaxAudioChannelsNull(); + + + /** + * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. + */ + const qint32 &videoBitRate() const; + void setVideoBitRate(qint32 newVideoBitRate); + bool videoBitRateNull() const; + void setVideoBitRateNull(); + + + /** + * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. + */ + const QString &videoCodec() const; + void setVideoCodec(QString newVideoCodec); + bool videoCodecNull() const; + void setVideoCodecNull(); + + + /** + * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. + */ + const qint32 &videoStreamIndex() const; + void setVideoStreamIndex(qint32 newVideoStreamIndex); + bool videoStreamIndexNull() const; + void setVideoStreamIndexNull(); + + + /** + * @brief Optional. The fixed horizontal resolution of the encoded video. + */ + const qint32 &width() const; + void setWidth(qint32 newWidth); + bool widthNull() const; + void setWidthNull(); + + +private: + // Required path parameters + QString m_container; + QString m_itemId; + QString m_stream; + + // Required query parameters + + // Optional query parameters + std::optional m_allowAudioStreamCopy = std::nullopt; + std::optional m_allowVideoStreamCopy = std::nullopt; + std::optional m_audioBitRate = std::nullopt; + std::optional m_audioChannels = std::nullopt; + QString m_audioCodec; + std::optional m_audioSampleRate = std::nullopt; + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_breakOnNonKeyFrames = std::nullopt; + EncodingContext m_context; + std::optional m_copyTimestamps = std::nullopt; + std::optional m_cpuCoreLimit = std::nullopt; + std::optional m_deInterlace = std::nullopt; + QString m_deviceId; + QString m_deviceProfileId; + std::optional m_enableAutoStreamCopy = std::nullopt; + std::optional m_enableMpegtsM2TsMode = std::nullopt; + std::optional m_framerate = std::nullopt; + std::optional m_height = std::nullopt; + QString m_level; + QString m_liveStreamId; + std::optional m_maxAudioBitDepth = std::nullopt; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxFramerate = std::nullopt; + std::optional m_maxRefFrames = std::nullopt; + std::optional m_maxVideoBitDepth = std::nullopt; + QString m_mediaSourceId; + std::optional m_minSegments = std::nullopt; + QString m_params; + QString m_playSessionId; + QString m_profile; + std::optional m_requireAvc = std::nullopt; + std::optional m_requireNonAnamorphic = std::nullopt; + QString m_segmentContainer; + std::optional m_segmentLength = std::nullopt; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_staticStreaming = std::nullopt; + std::optional m_streamOptions = std::nullopt; + QString m_subtitleCodec; + SubtitleDeliveryMethod m_subtitleMethod; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_tag; + QString m_transcodeReasons; + std::optional m_transcodingMaxAudioChannels = std::nullopt; + std::optional m_videoBitRate = std::nullopt; + QString m_videoCodec; + std::optional m_videoStreamIndex = std::nullopt; + std::optional m_width = std::nullopt; + +}; + +class InitiateParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class InstallPackageParams { +public: + + /** + * @brief Package name. + */ + const QString &name() const; + void setName(QString newName); + + + /** + * @brief GUID of the associated assembly. + */ + const QString &assemblyGuid() const; + void setAssemblyGuid(QString newAssemblyGuid); + bool assemblyGuidNull() const; + void setAssemblyGuidNull(); + + + /** + * @brief Optional. Specify the repository to install from. + */ + const QString &repositoryUrl() const; + void setRepositoryUrl(QString newRepositoryUrl); + bool repositoryUrlNull() const; + void setRepositoryUrlNull(); + + + /** + * @brief Optional version. Defaults to latest version. + */ + const QString &version() const; + void setVersion(QString newVersion); + bool versionNull() const; + void setVersionNull(); + + +private: + // Required path parameters + QString m_name; + + // Required query parameters + + // Optional query parameters + QString m_assemblyGuid; + QString m_repositoryUrl; + QString m_version; + +}; + +class MarkFavoriteItemParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class MarkPlayedItemParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief Optional. The date the item was played. + */ + const QDateTime &datePlayed() const; + void setDatePlayed(QDateTime newDatePlayed); + bool datePlayedNull() const; + void setDatePlayedNull(); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + QDateTime m_datePlayed; + +}; + +class MarkUnplayedItemParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class MergeVersionsParams { +public: + + /** + * @brief Item id list. This allows multiple, comma delimited. + */ + const QStringList &ids() const; + void setIds(QStringList newIds); + + +private: + // Required path parameters + + // Required query parameters + QStringList m_ids; + + // Optional query parameters + +}; + +class MoveItemParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The new index. + */ + const qint32 &newIndex() const; + void setNewIndex(qint32 newNewIndex); + + + /** + * @brief The playlist id. + */ + const QString &playlistId() const; + void setPlaylistId(QString newPlaylistId); + + +private: + // Required path parameters + QString m_itemId; + qint32 m_newIndex; + QString m_playlistId; + + // Required query parameters + + // Optional query parameters + +}; + +class OnPlaybackProgressParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief The audio stream index. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Indicates if the player is muted. + */ + const bool &isMuted() const; + void setIsMuted(bool newIsMuted); + bool isMutedNull() const; + void setIsMutedNull(); + + + /** + * @brief Indicates if the player is paused. + */ + const bool &isPaused() const; + void setIsPaused(bool newIsPaused); + bool isPausedNull() const; + void setIsPausedNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief The id of the MediaSource. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The play method. + */ + const PlayMethod &playMethod() const; + void setPlayMethod(PlayMethod newPlayMethod); + bool playMethodNull() const; + void setPlayMethodNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. The current position, in ticks. 1 tick = 10000 ms. + */ + const qint64 &positionTicks() const; + void setPositionTicks(qint64 newPositionTicks); + bool positionTicksNull() const; + void setPositionTicksNull(); + + + /** + * @brief The repeat mode. + */ + const RepeatMode &repeatMode() const; + void setRepeatMode(RepeatMode newRepeatMode); + bool repeatModeNull() const; + void setRepeatModeNull(); + + + /** + * @brief The subtitle stream index. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief Scale of 0-100. + */ + const qint32 &volumeLevel() const; + void setVolumeLevel(qint32 newVolumeLevel); + bool volumeLevelNull() const; + void setVolumeLevelNull(); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_isMuted = std::nullopt; + std::optional m_isPaused = std::nullopt; + QString m_liveStreamId; + QString m_mediaSourceId; + PlayMethod m_playMethod; + QString m_playSessionId; + std::optional m_positionTicks = std::nullopt; + RepeatMode m_repeatMode; + std::optional m_subtitleStreamIndex = std::nullopt; + std::optional m_volumeLevel = std::nullopt; + +}; + +class OnPlaybackStartParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief The audio stream index. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Indicates if the client can seek. + */ + const bool &canSeek() const; + void setCanSeek(bool newCanSeek); + bool canSeekNull() const; + void setCanSeekNull(); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief The id of the MediaSource. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The play method. + */ + const PlayMethod &playMethod() const; + void setPlayMethod(PlayMethod newPlayMethod); + bool playMethodNull() const; + void setPlayMethodNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief The subtitle stream index. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_canSeek = std::nullopt; + QString m_liveStreamId; + QString m_mediaSourceId; + PlayMethod m_playMethod; + QString m_playSessionId; + std::optional m_subtitleStreamIndex = std::nullopt; + +}; + +class OnPlaybackStoppedParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief The live stream id. + */ + const QString &liveStreamId() const; + void setLiveStreamId(QString newLiveStreamId); + bool liveStreamIdNull() const; + void setLiveStreamIdNull(); + + + /** + * @brief The id of the MediaSource. + */ + const QString &mediaSourceId() const; + void setMediaSourceId(QString newMediaSourceId); + bool mediaSourceIdNull() const; + void setMediaSourceIdNull(); + + + /** + * @brief The next media type that will play. + */ + const QString &nextMediaType() const; + void setNextMediaType(QString newNextMediaType); + bool nextMediaTypeNull() const; + void setNextMediaTypeNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief Optional. The position, in ticks, where playback stopped. 1 tick = 10000 ms. + */ + const qint64 &positionTicks() const; + void setPositionTicks(qint64 newPositionTicks); + bool positionTicksNull() const; + void setPositionTicksNull(); + + +private: + // Required path parameters + QString m_itemId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + QString m_liveStreamId; + QString m_mediaSourceId; + QString m_nextMediaType; + QString m_playSessionId; + std::optional m_positionTicks = std::nullopt; + +}; + +class OpenLiveStreamParams { +public: + + /** + * @brief The audio stream index. + */ + const qint32 &audioStreamIndex() const; + void setAudioStreamIndex(qint32 newAudioStreamIndex); + bool audioStreamIndexNull() const; + void setAudioStreamIndexNull(); + + + /** + * @brief Whether to enable direct play. Default: true. + */ + const bool &enableDirectPlay() const; + void setEnableDirectPlay(bool newEnableDirectPlay); + bool enableDirectPlayNull() const; + void setEnableDirectPlayNull(); + + + /** + * @brief Whether to enable direct stream. Default: true. + */ + const bool &enableDirectStream() const; + void setEnableDirectStream(bool newEnableDirectStream); + bool enableDirectStreamNull() const; + void setEnableDirectStreamNull(); + + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + bool itemIdNull() const; + void setItemIdNull(); + + + /** + * @brief The maximum number of audio channels. + */ + const qint32 &maxAudioChannels() const; + void setMaxAudioChannels(qint32 newMaxAudioChannels); + bool maxAudioChannelsNull() const; + void setMaxAudioChannelsNull(); + + + /** + * @brief The maximum streaming bitrate. + */ + const qint32 &maxStreamingBitrate() const; + void setMaxStreamingBitrate(qint32 newMaxStreamingBitrate); + bool maxStreamingBitrateNull() const; + void setMaxStreamingBitrateNull(); + + + /** + * @brief The open token. + */ + const QString &openToken() const; + void setOpenToken(QString newOpenToken); + bool openTokenNull() const; + void setOpenTokenNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + + /** + * @brief The start time in ticks. + */ + const qint64 &startTimeTicks() const; + void setStartTimeTicks(qint64 newStartTimeTicks); + bool startTimeTicksNull() const; + void setStartTimeTicksNull(); + + + /** + * @brief The subtitle stream index. + */ + const qint32 &subtitleStreamIndex() const; + void setSubtitleStreamIndex(qint32 newSubtitleStreamIndex); + bool subtitleStreamIndexNull() const; + void setSubtitleStreamIndexNull(); + + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + bool userIdNull() const; + void setUserIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + std::optional m_audioStreamIndex = std::nullopt; + std::optional m_enableDirectPlay = std::nullopt; + std::optional m_enableDirectStream = std::nullopt; + QString m_itemId; + std::optional m_maxAudioChannels = std::nullopt; + std::optional m_maxStreamingBitrate = std::nullopt; + QString m_openToken; + QString m_playSessionId; + std::optional m_startTimeTicks = std::nullopt; + std::optional m_subtitleStreamIndex = std::nullopt; + QString m_userId; + +}; + +class PingPlaybackSessionParams { +public: + + /** + * @brief Playback session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_playSessionId; + +}; + +class PlayParams { +public: + + /** + * @brief The session id. + */ + const QString &sessionId() const; + void setSessionId(QString newSessionId); + + + /** + * @brief The ids of the items to play, comma delimited. + */ + const QStringList &itemIds() const; + void setItemIds(QStringList newItemIds); + + + /** + * @brief The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now. + */ + const PlayCommand &playCommand() const; + void setPlayCommand(PlayCommand newPlayCommand); + + + /** + * @brief The starting position of the first item. + */ + const qint64 &startPositionTicks() const; + void setStartPositionTicks(qint64 newStartPositionTicks); + bool startPositionTicksNull() const; + void setStartPositionTicksNull(); + + +private: + // Required path parameters + QString m_sessionId; + + // Required query parameters + QStringList m_itemIds; + PlayCommand m_playCommand; + + // Optional query parameters + std::optional m_startPositionTicks = std::nullopt; + +}; + +class PostParams { +public: + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief (Optional) Specifies the image refresh mode. + */ + const MetadataRefreshMode &imageRefreshMode() const; + void setImageRefreshMode(MetadataRefreshMode newImageRefreshMode); + bool imageRefreshModeNull() const; + void setImageRefreshModeNull(); + + + /** + * @brief (Optional) Specifies the metadata refresh mode. + */ + const MetadataRefreshMode &metadataRefreshMode() const; + void setMetadataRefreshMode(MetadataRefreshMode newMetadataRefreshMode); + bool metadataRefreshModeNull() const; + void setMetadataRefreshModeNull(); + + + /** + * @brief (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh. + */ + const bool &replaceAllImages() const; + void setReplaceAllImages(bool newReplaceAllImages); + bool replaceAllImagesNull() const; + void setReplaceAllImagesNull(); + + + /** + * @brief (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh. + */ + const bool &replaceAllMetadata() const; + void setReplaceAllMetadata(bool newReplaceAllMetadata); + bool replaceAllMetadataNull() const; + void setReplaceAllMetadataNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + MetadataRefreshMode m_imageRefreshMode; + MetadataRefreshMode m_metadataRefreshMode; + std::optional m_replaceAllImages = std::nullopt; + std::optional m_replaceAllMetadata = std::nullopt; + +}; + +class PostAddedMoviesParams { +public: + + /** + * @brief The imdbId. + */ + const QString &imdbId() const; + void setImdbId(QString newImdbId); + bool imdbIdNull() const; + void setImdbIdNull(); + + + /** + * @brief The tmdbId. + */ + const QString &tmdbId() const; + void setTmdbId(QString newTmdbId); + bool tmdbIdNull() const; + void setTmdbIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_imdbId; + QString m_tmdbId; + +}; + +class PostAddedSeriesParams { +public: + + /** + * @brief The tvdbId. + */ + const QString &tvdbId() const; + void setTvdbId(QString newTvdbId); + bool tvdbIdNull() const; + void setTvdbIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_tvdbId; + +}; + +class PostCapabilitiesParams { +public: + + /** + * @brief The session id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + bool jellyfinIdNull() const; + void setJellyfinIdNull(); + + + /** + * @brief A list of playable media types, comma delimited. Audio, Video, Book, Photo. + */ + const QStringList &playableMediaTypes() const; + void setPlayableMediaTypes(QStringList newPlayableMediaTypes); + bool playableMediaTypesNull() const; + void setPlayableMediaTypesNull(); + + + /** + * @brief A list of supported remote control commands, comma delimited. + */ + const QList &supportedCommands() const; + void setSupportedCommands(QList newSupportedCommands); + bool supportedCommandsNull() const; + void setSupportedCommandsNull(); + + + /** + * @brief Determines whether media can be played remotely.. + */ + const bool &supportsMediaControl() const; + void setSupportsMediaControl(bool newSupportsMediaControl); + bool supportsMediaControlNull() const; + void setSupportsMediaControlNull(); + + + /** + * @brief Determines whether the device supports a unique identifier. + */ + const bool &supportsPersistentIdentifier() const; + void setSupportsPersistentIdentifier(bool newSupportsPersistentIdentifier); + bool supportsPersistentIdentifierNull() const; + void setSupportsPersistentIdentifierNull(); + + + /** + * @brief Determines whether sync is supported. + */ + const bool &supportsSync() const; + void setSupportsSync(bool newSupportsSync); + bool supportsSyncNull() const; + void setSupportsSyncNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_jellyfinId; + QStringList m_playableMediaTypes; + QList m_supportedCommands; + std::optional m_supportsMediaControl = std::nullopt; + std::optional m_supportsPersistentIdentifier = std::nullopt; + std::optional m_supportsSync = std::nullopt; + +}; + +class PostFullCapabilitiesParams { +public: + + /** + * @brief The session id. + */ + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + bool jellyfinIdNull() const; + void setJellyfinIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_jellyfinId; + +}; + +class PostPingSystemParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class PostUpdatedMediaParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class PostUpdatedMoviesParams { +public: + + /** + * @brief The imdbId. + */ + const QString &imdbId() const; + void setImdbId(QString newImdbId); + bool imdbIdNull() const; + void setImdbIdNull(); + + + /** + * @brief The tmdbId. + */ + const QString &tmdbId() const; + void setTmdbId(QString newTmdbId); + bool tmdbIdNull() const; + void setTmdbIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_imdbId; + QString m_tmdbId; + +}; + +class PostUpdatedSeriesParams { +public: + + /** + * @brief The tvdbId. + */ + const QString &tvdbId() const; + void setTvdbId(QString newTvdbId); + bool tvdbIdNull() const; + void setTvdbIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_tvdbId; + +}; + +class PostUserImageParams { +public: + + /** + * @brief (Unused) Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief User Id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + + /** + * @brief (Unused) Image index. + */ + const qint32 &index() const; + void setIndex(qint32 newIndex); + bool indexNull() const; + void setIndexNull(); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_userId; + + // Required query parameters + + // Optional query parameters + std::optional m_index = std::nullopt; + +}; + +class PostUserImageByIndexParams { +public: + + /** + * @brief (Unused) Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief (Unused) Image index. + */ + const qint32 &index() const; + void setIndex(qint32 newIndex); + + + /** + * @brief User Id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + ImageType m_imageType; + qint32 m_index; + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class ProcessConnectionManagerControlRequestParams { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class ProcessContentDirectoryControlRequestParams { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class ProcessMediaReceiverRegistrarControlRequestParams { +public: + + /** + * @brief Server UUID. + */ + const QString &serverId() const; + void setServerId(QString newServerId); + + +private: + // Required path parameters + QString m_serverId; + + // Required query parameters + + // Optional query parameters + +}; + +class RefreshLibraryParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class RemoveFromCollectionParams { +public: + + /** + * @brief The collection id. + */ + const QString &collectionId() const; + void setCollectionId(QString newCollectionId); + + + /** + * @brief Item ids, comma delimited. + */ + const QStringList &ids() const; + void setIds(QStringList newIds); + + +private: + // Required path parameters + QString m_collectionId; + + // Required query parameters + QStringList m_ids; + + // Optional query parameters + +}; + +class RemoveFromPlaylistParams { +public: + + /** + * @brief The playlist id. + */ + const QString &playlistId() const; + void setPlaylistId(QString newPlaylistId); + + + /** + * @brief The item ids, comma delimited. + */ + const QStringList &entryIds() const; + void setEntryIds(QStringList newEntryIds); + bool entryIdsNull() const; + void setEntryIdsNull(); + + +private: + // Required path parameters + QString m_playlistId; + + // Required query parameters + + // Optional query parameters + QStringList m_entryIds; + +}; + +class RemoveMediaPathParams { +public: + + /** + * @brief The name of the library. + */ + const QString &name() const; + void setName(QString newName); + bool nameNull() const; + void setNameNull(); + + + /** + * @brief The path to remove. + */ + const QString &path() const; + void setPath(QString newPath); + bool pathNull() const; + void setPathNull(); + + + /** + * @brief Whether to refresh the library. + */ + const bool &refreshLibrary() const; + void setRefreshLibrary(bool newRefreshLibrary); + bool refreshLibraryNull() const; + void setRefreshLibraryNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_name; + QString m_path; + std::optional m_refreshLibrary = std::nullopt; + +}; + +class RemoveUserFromSessionParams { +public: + + /** + * @brief The session id. + */ + const QString &sessionId() const; + void setSessionId(QString newSessionId); + + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_sessionId; + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class RemoveVirtualFolderParams { +public: + + /** + * @brief The name of the folder. + */ + const QString &name() const; + void setName(QString newName); + bool nameNull() const; + void setNameNull(); + + + /** + * @brief Whether to refresh the library. + */ + const bool &refreshLibrary() const; + void setRefreshLibrary(bool newRefreshLibrary); + bool refreshLibraryNull() const; + void setRefreshLibraryNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_name; + std::optional m_refreshLibrary = std::nullopt; + +}; + +class RenameVirtualFolderParams { +public: + + /** + * @brief The name of the virtual folder. + */ + const QString &name() const; + void setName(QString newName); + bool nameNull() const; + void setNameNull(); + + + /** + * @brief The new name. + */ + const QString &newName() const; + void setNewName(QString newNewName); + bool newNameNull() const; + void setNewNameNull(); + + + /** + * @brief Whether to refresh the library. + */ + const bool &refreshLibrary() const; + void setRefreshLibrary(bool newRefreshLibrary); + bool refreshLibraryNull() const; + void setRefreshLibraryNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_name; + QString m_newName; + std::optional m_refreshLibrary = std::nullopt; + +}; + +class ReportPlaybackProgressParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class ReportPlaybackStartParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class ReportPlaybackStoppedParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class ReportSessionEndedParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class ReportViewingParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The session id. + */ + const QString &sessionId() const; + void setSessionId(QString newSessionId); + bool sessionIdNull() const; + void setSessionIdNull(); + + +private: + // Required path parameters + + // Required query parameters + QString m_itemId; + + // Optional query parameters + QString m_sessionId; + +}; + +class ResetTunerParams { +public: + + /** + * @brief Tuner id. + */ + const QString &tunerId() const; + void setTunerId(QString newTunerId); + + +private: + // Required path parameters + QString m_tunerId; + + // Required query parameters + + // Optional query parameters + +}; + +class RestartApplicationParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class RevokeKeyParams { +public: + + /** + * @brief The access token to delete. + */ + const QString &key() const; + void setKey(QString newKey); + + +private: + // Required path parameters + QString m_key; + + // Required query parameters + + // Optional query parameters + +}; + +class SearchRemoteSubtitlesParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief The language of the subtitles. + */ + const QString &language() const; + void setLanguage(QString newLanguage); + + + /** + * @brief Optional. Only show subtitles which are a perfect match. + */ + const bool &isPerfectMatch() const; + void setIsPerfectMatch(bool newIsPerfectMatch); + bool isPerfectMatchNull() const; + void setIsPerfectMatchNull(); + + +private: + // Required path parameters + QString m_itemId; + QString m_language; + + // Required query parameters + + // Optional query parameters + std::optional m_isPerfectMatch = std::nullopt; + +}; + +class SendFullGeneralCommandParams { +public: + + /** + * @brief The session id. + */ + const QString &sessionId() const; + void setSessionId(QString newSessionId); + + +private: + // Required path parameters + QString m_sessionId; + + // Required query parameters + + // Optional query parameters + +}; + +class SendGeneralCommandParams { +public: + + /** + * @brief The command to send. + */ + const GeneralCommandType &command() const; + void setCommand(GeneralCommandType newCommand); + + + /** + * @brief The session id. + */ + const QString &sessionId() const; + void setSessionId(QString newSessionId); + + +private: + // Required path parameters + GeneralCommandType m_command; + QString m_sessionId; + + // Required query parameters + + // Optional query parameters + +}; + +class SendMessageCommandParams { +public: + + /** + * @brief The session id. + */ + const QString &sessionId() const; + void setSessionId(QString newSessionId); + + + /** + * @brief The message test. + */ + const QString &text() const; + void setText(QString newText); + + + /** + * @brief The message header. + */ + const QString &header() const; + void setHeader(QString newHeader); + bool headerNull() const; + void setHeaderNull(); + + + /** + * @brief The message timeout. If omitted the user will have to confirm viewing the message. + */ + const qint64 &timeoutMs() const; + void setTimeoutMs(qint64 newTimeoutMs); + bool timeoutMsNull() const; + void setTimeoutMsNull(); + + +private: + // Required path parameters + QString m_sessionId; + + // Required query parameters + QString m_text; + + // Optional query parameters + QString m_header; + std::optional m_timeoutMs = std::nullopt; + +}; + +class SendPlaystateCommandParams { +public: + + /** + * @brief The MediaBrowser.Model.Session.PlaystateCommand. + */ + const PlaystateCommand &command() const; + void setCommand(PlaystateCommand newCommand); + + + /** + * @brief The session id. + */ + const QString &sessionId() const; + void setSessionId(QString newSessionId); + + + /** + * @brief The optional controlling user id. + */ + const QString &controllingUserId() const; + void setControllingUserId(QString newControllingUserId); + bool controllingUserIdNull() const; + void setControllingUserIdNull(); + + + /** + * @brief The optional position ticks. + */ + const qint64 &seekPositionTicks() const; + void setSeekPositionTicks(qint64 newSeekPositionTicks); + bool seekPositionTicksNull() const; + void setSeekPositionTicksNull(); + + +private: + // Required path parameters + PlaystateCommand m_command; + QString m_sessionId; + + // Required query parameters + + // Optional query parameters + QString m_controllingUserId; + std::optional m_seekPositionTicks = std::nullopt; + +}; + +class SendSystemCommandParams { +public: + + /** + * @brief The command to send. + */ + const GeneralCommandType &command() const; + void setCommand(GeneralCommandType newCommand); + + + /** + * @brief The session id. + */ + const QString &sessionId() const; + void setSessionId(QString newSessionId); + + +private: + // Required path parameters + GeneralCommandType m_command; + QString m_sessionId; + + // Required query parameters + + // Optional query parameters + +}; + +class SetChannelMappingParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SetItemImageParams { +public: + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + ImageType m_imageType; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class SetItemImageByIndexParams { +public: + + /** + * @brief (Unused) Image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + +}; + +class SetReadParams { +public: + + /** + * @brief + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class SetRemoteAccessParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SetRepositoriesParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SetUnreadParams { +public: + + /** + * @brief + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class ShutdownApplicationParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class StartTaskParams { +public: + + /** + * @brief Task Id. + */ + const QString &taskId() const; + void setTaskId(QString newTaskId); + + +private: + // Required path parameters + QString m_taskId; + + // Required query parameters + + // Optional query parameters + +}; + +class StopEncodingProcessParams { +public: + + /** + * @brief The device id of the client requesting. Used to stop encoding processes when needed. + */ + const QString &deviceId() const; + void setDeviceId(QString newDeviceId); + bool deviceIdNull() const; + void setDeviceIdNull(); + + + /** + * @brief The play session id. + */ + const QString &playSessionId() const; + void setPlaySessionId(QString newPlaySessionId); + bool playSessionIdNull() const; + void setPlaySessionIdNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_deviceId; + QString m_playSessionId; + +}; + +class StopTaskParams { +public: + + /** + * @brief Task Id. + */ + const QString &taskId() const; + void setTaskId(QString newTaskId); + + +private: + // Required path parameters + QString m_taskId; + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayBufferingParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayCreateGroupParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayGetGroupsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayJoinGroupParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayLeaveGroupParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayMovePlaylistItemParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayNextItemParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayPauseParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayPingParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayPreviousItemParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayQueueParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayReadyParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayRemoveFromPlaylistParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlaySeekParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlaySetIgnoreWaitParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlaySetNewQueueParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlaySetPlaylistItemParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlaySetRepeatModeParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlaySetShuffleModeParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayStopParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class SyncPlayUnpauseParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class UninstallPluginParams { +public: + + /** + * @brief Plugin id. + */ + const QString &pluginId() const; + void setPluginId(QString newPluginId); + + +private: + // Required path parameters + QString m_pluginId; + + // Required query parameters + + // Optional query parameters + +}; + +class UninstallPluginByVersionParams { +public: + + /** + * @brief Plugin id. + */ + const QString &pluginId() const; + void setPluginId(QString newPluginId); + + + /** + * @brief Plugin version. + */ + const QSharedPointer &version() const; + void setVersion(QSharedPointer newVersion); + + +private: + // Required path parameters + QString m_pluginId; + QSharedPointer m_version; + + // Required query parameters // Optional query parameters @@ -20833,139 +28632,453 @@ private: class UnmarkFavoriteItemParams { public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; /** * @brief Item id. */ - QString itemId() const; - void setItemId(QString newItemId) const; + const QString &itemId() const; + void setItemId(QString newItemId); + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + private: // Required path parameters - QString m_userId; QString m_itemId; + QString m_userId; // Required query parameters - - // Optional path parameters // Optional query parameters }; -class GetItemParams { +class UpdateConfigurationParams { public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - private: // Required path parameters - QString m_userId; - QString m_itemId; // Required query parameters - - // Optional path parameters // Optional query parameters }; -class GetIntrosParams { +class UpdateDeviceOptionsParams { public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; /** - * @brief Item id. + * @brief Device Id. */ - QString itemId() const; - void setItemId(QString newItemId) const; - + const QString &jellyfinId() const; + void setJellyfinId(QString newJellyfinId); + private: // Required path parameters - QString m_userId; - QString m_itemId; // Required query parameters - - // Optional path parameters + QString m_jellyfinId; // Optional query parameters }; -class GetLocalTrailersParams { +class UpdateDisplayPreferencesParams { public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; /** - * @brief Item id. + * @brief Display preferences id. */ - QString itemId() const; - void setItemId(QString newItemId) const; + const QString &displayPreferencesId() const; + void setDisplayPreferencesId(QString newDisplayPreferencesId); + + /** + * @brief Client. + */ + const QString &client() const; + void setClient(QString newClient); + + /** + * @brief User Id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + private: // Required path parameters - QString m_userId; - QString m_itemId; + QString m_displayPreferencesId; // Required query parameters - - // Optional path parameters + QString m_client; + QString m_userId; // Optional query parameters }; -class DeleteUserItemRatingParams { +class UpdateInitialConfigurationParams { public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - private: // Required path parameters - QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateItemParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + +private: + // Required path parameters QString m_itemId; // Required query parameters + + // Optional query parameters + +}; + +class UpdateItemContentTypeParams { +public: + + /** + * @brief The item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + - // Optional path parameters + /** + * @brief The content type of the item. + */ + const QString &contentType() const; + void setContentType(QString newContentType); + bool contentTypeNull() const; + void setContentTypeNull(); + + +private: + // Required path parameters + QString m_itemId; + + // Required query parameters + + // Optional query parameters + QString m_contentType; + +}; + +class UpdateItemImageIndexParams { +public: + + /** + * @brief Old image index. + */ + const qint32 &imageIndex() const; + void setImageIndex(qint32 newImageIndex); + + + /** + * @brief Image type. + */ + const ImageType &imageType() const; + void setImageType(ImageType newImageType); + + + /** + * @brief Item id. + */ + const QString &itemId() const; + void setItemId(QString newItemId); + + + /** + * @brief New image index. + */ + const qint32 &newIndex() const; + void setNewIndex(qint32 newNewIndex); + bool newIndexNull() const; + void setNewIndexNull(); + + +private: + // Required path parameters + qint32 m_imageIndex; + ImageType m_imageType; + QString m_itemId; + + // Required query parameters + + // Optional query parameters + std::optional m_newIndex = std::nullopt; + +}; + +class UpdateLibraryOptionsParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateMediaEncoderPathParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateMediaPathParams { +public: + + /** + * @brief The name of the library. + */ + const QString &name() const; + void setName(QString newName); + bool nameNull() const; + void setNameNull(); + + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + QString m_name; + +}; + +class UpdateNamedConfigurationParams { +public: + + /** + * @brief Configuration key. + */ + const QString &key() const; + void setKey(QString newKey); + + +private: + // Required path parameters + QString m_key; + + // Required query parameters + + // Optional query parameters + +}; + +class UpdatePluginConfigurationParams { +public: + + /** + * @brief Plugin id. + */ + const QString &pluginId() const; + void setPluginId(QString newPluginId); + + +private: + // Required path parameters + QString m_pluginId; + + // Required query parameters + + // Optional query parameters + +}; + +class UpdatePluginSecurityInfoParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateProfileParams { +public: + + /** + * @brief Profile id. + */ + const QString &profileId() const; + void setProfileId(QString newProfileId); + + +private: + // Required path parameters + QString m_profileId; + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateSeriesTimerParams { +public: + + /** + * @brief Timer id. + */ + const QString &timerId() const; + void setTimerId(QString newTimerId); + + +private: + // Required path parameters + QString m_timerId; + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateStartupUserParams { +public: + +private: + // Required path parameters + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateTaskParams { +public: + + /** + * @brief Task Id. + */ + const QString &taskId() const; + void setTaskId(QString newTaskId); + + +private: + // Required path parameters + QString m_taskId; + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateTimerParams { +public: + + /** + * @brief Timer id. + */ + const QString &timerId() const; + void setTimerId(QString newTimerId); + + +private: + // Required path parameters + QString m_timerId; + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateUserParams { +public: + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateUserConfigurationParams { +public: + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters + + // Optional query parameters + +}; + +class UpdateUserEasyPasswordParams { +public: + + /** + * @brief The user id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + +private: + // Required path parameters + QString m_userId; + + // Required query parameters // Optional query parameters @@ -20973,2314 +29086,114 @@ private: class UpdateUserItemRatingParams { public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; /** * @brief Item id. */ - QString itemId() const; - void setItemId(QString newItemId) const; + const QString &itemId() const; + void setItemId(QString newItemId); + + /** + * @brief User id. + */ + const QString &userId() const; + void setUserId(QString newUserId); + + /** * @brief Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes. */ - std::optional likes() const; - void setLikes(std::optional newLikes) const; - - + const bool &likes() const; + void setLikes(bool newLikes); + bool likesNull() const; + void setLikesNull(); + + private: // Required path parameters - QString m_userId; QString m_itemId; + QString m_userId; // Required query parameters - - // Optional path parameters // Optional query parameters std::optional m_likes = std::nullopt; }; -class GetSpecialFeaturesParams { +class UpdateUserPasswordParams { public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; /** - * @brief Item id. + * @brief The user id. */ - QString itemId() const; - void setItemId(QString newItemId) const; + const QString &userId() const; + void setUserId(QString newUserId); - -private: - // Required path parameters - QString m_userId; - QString m_itemId; - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetLatestMediaParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Return item limit. - */ - qint32 limit() const; - void setLimit(qint32 newLimit) const; - - /** - * @brief Filter by items that are played, or not. - */ - std::optional isPlayed() const; - void setIsPlayed(std::optional newIsPlayed) const; - - /** - * @brief Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional. the max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Whether or not to group items into a parent container. - */ - bool groupItems() const; - void setGroupItems(bool newGroupItems) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - private: // Required path parameters QString m_userId; // Required query parameters - - // Optional path parameters // Optional query parameters - QString m_parentId; - qint32 m_limit; - std::optional m_isPlayed = std::nullopt; - QStringList m_includeItemTypes; - std::optional m_imageTypeLimit = std::nullopt; - bool m_groupItems; - QList m_fields; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; }; -class GetRootFolderParams { +class UpdateUserPolicyParams { public: + /** - * @brief User id. + * @brief The user id. */ - QString userId() const; - void setUserId(QString newUserId) const; - + const QString &userId() const; + void setUserId(QString newUserId); + private: // Required path parameters QString m_userId; // Required query parameters - - // Optional path parameters // Optional query parameters }; -class GetGroupingOptionsParams { +class UploadSubtitleParams { public: + /** - * @brief User id. + * @brief The item the subtitle belongs to. */ - QString userId() const; - void setUserId(QString newUserId) const; + const QString &itemId() const; + void setItemId(QString newItemId); - -private: - // Required path parameters - QString m_userId; - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetUserViewsParams { -public: - /** - * @brief User id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Preset views. - */ - QStringList presetViews() const; - void setPresetViews(QStringList newPresetViews) const; - - /** - * @brief Whether or not to include hidden content. - */ - bool includeHidden() const; - void setIncludeHidden(bool newIncludeHidden) const; - - /** - * @brief Whether or not to include external views such as channels or live tv. - */ - std::optional includeExternalContent() const; - void setIncludeExternalContent(std::optional newIncludeExternalContent) const; - - -private: - // Required path parameters - QString m_userId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QStringList m_presetViews; - bool m_includeHidden; - std::optional m_includeExternalContent = std::nullopt; - -}; - -class GetAttachmentParams { -public: - /** - * @brief Video ID. - */ - QString videoId() const; - void setVideoId(QString newVideoId) const; - - /** - * @brief Media Source ID. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Attachment Index. - */ - qint32 index() const; - void setIndex(qint32 newIndex) const; - - -private: - // Required path parameters - QString m_videoId; - QString m_mediaSourceId; - qint32 m_index; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - -}; - -class GetLiveHlsStreamParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment lenght. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The max width. - */ - std::optional maxWidth() const; - void setMaxWidth(std::optional newMaxWidth) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. The max height. - */ - std::optional maxHeight() const; - void setMaxHeight(std::optional newMaxHeight) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable subtitles in the manifest. - */ - std::optional enableSubtitlesInManifest() const; - void setEnableSubtitlesInManifest(std::optional newEnableSubtitlesInManifest) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief The audio container. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - private: // Required path parameters QString m_itemId; // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxWidth = std::nullopt; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxHeight = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableSubtitlesInManifest = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - QString m_container; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class GetVideoStreamByContainerParams { -public: - /** - * @brief - */ - QString stream() const; - void setStream(QString newStream) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment lenght. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamporphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_stream; - QString m_itemId; - QString m_container; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class HeadVideoStreamByContainerParams { -public: - /** - * @brief - */ - QString stream() const; - void setStream(QString newStream) const; - - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment lenght. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamporphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_stream; - QString m_itemId; - QString m_container; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class GetAdditionalPartParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - -class DeleteAlternateSourcesParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters // Optional query parameters }; -class GetVideoStreamParams { +class ValidatePathParams { public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - QString m_container; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class HeadVideoStreamParams { -public: - /** - * @brief The item id. - */ - QString itemId() const; - void setItemId(QString newItemId) const; - - /** - * @brief Optional. The fixed horizontal resolution of the encoded video. - */ - std::optional width() const; - void setWidth(std::optional newWidth) const; - - /** - * @brief Optional. The index of the video stream to use. If omitted the first video stream will be used. - */ - std::optional videoStreamIndex() const; - void setVideoStreamIndex(std::optional newVideoStreamIndex) const; - - /** - * @brief Optional. Specify a video codec to encode to, e.g. h264. If omitted the server will auto-select using the url's extension. Options: h265, h264, mpeg4, theora, vpx, wmv. - */ - QString videoCodec() const; - void setVideoCodec(QString newVideoCodec) const; - - /** - * @brief Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults. - */ - std::optional videoBitRate() const; - void setVideoBitRate(std::optional newVideoBitRate) const; - - /** - * @brief Optional. The maximum number of audio channels to transcode. - */ - std::optional transcodingMaxAudioChannels() const; - void setTranscodingMaxAudioChannels(std::optional newTranscodingMaxAudioChannels) const; - - /** - * @brief Optional. The transcoding reason. - */ - QString transcodeReasons() const; - void setTranscodeReasons(QString newTranscodeReasons) const; - - /** - * @brief The tag. - */ - QString tag() const; - void setTag(QString newTag) const; - - /** - * @brief Optional. The index of the subtitle stream to use. If omitted no subtitles will be used. - */ - std::optional subtitleStreamIndex() const; - void setSubtitleStreamIndex(std::optional newSubtitleStreamIndex) const; - - /** - * @brief Optional. Specify the subtitle delivery method. - */ - SubtitleDeliveryMethod subtitleMethod() const; - void setSubtitleMethod(SubtitleDeliveryMethod newSubtitleMethod) const; - - /** - * @brief Optional. Specify a subtitle codec to encode to. - */ - QString subtitleCodec() const; - void setSubtitleCodec(QString newSubtitleCodec) const; - - /** - * @brief Optional. The streaming options. - */ - std::optional streamOptions() const; - void setStreamOptions(std::optional newStreamOptions) const; - - /** - * @brief Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false. - */ - std::optional staticStreaming() const; - void setStaticStreaming(std::optional newStaticStreaming) const; - - /** - * @brief Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms. - */ - std::optional startTimeTicks() const; - void setStartTimeTicks(std::optional newStartTimeTicks) const; - - /** - * @brief The segment length. - */ - std::optional segmentLength() const; - void setSegmentLength(std::optional newSegmentLength) const; - - /** - * @brief The segment container. - */ - QString segmentContainer() const; - void setSegmentContainer(QString newSegmentContainer) const; - - /** - * @brief Optional. Whether to require a non anamorphic stream. - */ - std::optional requireNonAnamorphic() const; - void setRequireNonAnamorphic(std::optional newRequireNonAnamorphic) const; - - /** - * @brief Optional. Whether to require avc. - */ - std::optional requireAvc() const; - void setRequireAvc(std::optional newRequireAvc) const; - - /** - * @brief Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high. - */ - QString profile() const; - void setProfile(QString newProfile) const; - - /** - * @brief The play session id. - */ - QString playSessionId() const; - void setPlaySessionId(QString newPlaySessionId) const; - - /** - * @brief The streaming parameters. - */ - QString params() const; - void setParams(QString newParams) const; - - /** - * @brief The minimum number of segments. - */ - std::optional minSegments() const; - void setMinSegments(std::optional newMinSegments) const; - - /** - * @brief The media version id, if playing an alternate version. - */ - QString mediaSourceId() const; - void setMediaSourceId(QString newMediaSourceId) const; - - /** - * @brief Optional. The maximum video bit depth. - */ - std::optional maxVideoBitDepth() const; - void setMaxVideoBitDepth(std::optional newMaxVideoBitDepth) const; - - /** - * @brief Optional. - */ - std::optional maxRefFrames() const; - void setMaxRefFrames(std::optional newMaxRefFrames) const; - - /** - * @brief Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional maxFramerate() const; - void setMaxFramerate(std::optional newMaxFramerate) const; - - /** - * @brief Optional. Specify a maximum number of audio channels to encode to, e.g. 2. - */ - std::optional maxAudioChannels() const; - void setMaxAudioChannels(std::optional newMaxAudioChannels) const; - - /** - * @brief Optional. The maximum audio bit depth. - */ - std::optional maxAudioBitDepth() const; - void setMaxAudioBitDepth(std::optional newMaxAudioBitDepth) const; - - /** - * @brief The live stream id. - */ - QString liveStreamId() const; - void setLiveStreamId(QString newLiveStreamId) const; - - /** - * @brief Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1. - */ - QString level() const; - void setLevel(QString newLevel) const; - - /** - * @brief Optional. The fixed vertical resolution of the encoded video. - */ - std::optional height() const; - void setHeight(std::optional newHeight) const; - - /** - * @brief Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements. - */ - std::optional framerate() const; - void setFramerate(std::optional newFramerate) const; - - /** - * @brief Optional. Whether to enable the MpegtsM2Ts mode. - */ - std::optional enableMpegtsM2TsMode() const; - void setEnableMpegtsM2TsMode(std::optional newEnableMpegtsM2TsMode) const; - - /** - * @brief Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true. - */ - std::optional enableAutoStreamCopy() const; - void setEnableAutoStreamCopy(std::optional newEnableAutoStreamCopy) const; - - /** - * @brief Optional. The dlna device profile id to utilize. - */ - QString deviceProfileId() const; - void setDeviceProfileId(QString newDeviceProfileId) const; - - /** - * @brief The device id of the client requesting. Used to stop encoding processes when needed. - */ - QString deviceId() const; - void setDeviceId(QString newDeviceId) const; - - /** - * @brief Optional. Whether to deinterlace the video. - */ - std::optional deInterlace() const; - void setDeInterlace(std::optional newDeInterlace) const; - - /** - * @brief Optional. The limit of how many cpu cores to use. - */ - std::optional cpuCoreLimit() const; - void setCpuCoreLimit(std::optional newCpuCoreLimit) const; - - /** - * @brief Whether or not to copy timestamps when transcoding with an offset. Defaults to false. - */ - std::optional copyTimestamps() const; - void setCopyTimestamps(std::optional newCopyTimestamps) const; - - /** - * @brief Optional. The MediaBrowser.Model.Dlna.EncodingContext. - */ - EncodingContext context() const; - void setContext(EncodingContext newContext) const; - - /** - * @brief The video container. Possible values are: ts, webm, asf, wmv, ogv, mp4, m4v, mkv, mpeg, mpg, avi, 3gp, wmv, wtv, m2ts, mov, iso, flv. - */ - QString container() const; - void setContainer(QString newContainer) const; - - /** - * @brief Optional. Whether to break on non key frames. - */ - std::optional breakOnNonKeyFrames() const; - void setBreakOnNonKeyFrames(std::optional newBreakOnNonKeyFrames) const; - - /** - * @brief Optional. The index of the audio stream to use. If omitted the first audio stream will be used. - */ - std::optional audioStreamIndex() const; - void setAudioStreamIndex(std::optional newAudioStreamIndex) const; - - /** - * @brief Optional. Specify a specific audio sample rate, e.g. 44100. - */ - std::optional audioSampleRate() const; - void setAudioSampleRate(std::optional newAudioSampleRate) const; - - /** - * @brief Optional. Specify a audio codec to encode to, e.g. mp3. If omitted the server will auto-select using the url's extension. Options: aac, mp3, vorbis, wma. - */ - QString audioCodec() const; - void setAudioCodec(QString newAudioCodec) const; - - /** - * @brief Optional. Specify a specific number of audio channels to encode to, e.g. 2. - */ - std::optional audioChannels() const; - void setAudioChannels(std::optional newAudioChannels) const; - - /** - * @brief Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults. - */ - std::optional audioBitRate() const; - void setAudioBitRate(std::optional newAudioBitRate) const; - - /** - * @brief Whether or not to allow copying of the video stream url. - */ - std::optional allowVideoStreamCopy() const; - void setAllowVideoStreamCopy(std::optional newAllowVideoStreamCopy) const; - - /** - * @brief Whether or not to allow copying of the audio stream url. - */ - std::optional allowAudioStreamCopy() const; - void setAllowAudioStreamCopy(std::optional newAllowAudioStreamCopy) const; - - -private: - // Required path parameters - QString m_itemId; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - std::optional m_width = std::nullopt; - std::optional m_videoStreamIndex = std::nullopt; - QString m_videoCodec; - std::optional m_videoBitRate = std::nullopt; - std::optional m_transcodingMaxAudioChannels = std::nullopt; - QString m_transcodeReasons; - QString m_tag; - std::optional m_subtitleStreamIndex = std::nullopt; - SubtitleDeliveryMethod m_subtitleMethod; - QString m_subtitleCodec; - std::optional m_streamOptions = std::nullopt; - std::optional m_staticStreaming = std::nullopt; - std::optional m_startTimeTicks = std::nullopt; - std::optional m_segmentLength = std::nullopt; - QString m_segmentContainer; - std::optional m_requireNonAnamorphic = std::nullopt; - std::optional m_requireAvc = std::nullopt; - QString m_profile; - QString m_playSessionId; - QString m_params; - std::optional m_minSegments = std::nullopt; - QString m_mediaSourceId; - std::optional m_maxVideoBitDepth = std::nullopt; - std::optional m_maxRefFrames = std::nullopt; - std::optional m_maxFramerate = std::nullopt; - std::optional m_maxAudioChannels = std::nullopt; - std::optional m_maxAudioBitDepth = std::nullopt; - QString m_liveStreamId; - QString m_level; - std::optional m_height = std::nullopt; - std::optional m_framerate = std::nullopt; - std::optional m_enableMpegtsM2TsMode = std::nullopt; - std::optional m_enableAutoStreamCopy = std::nullopt; - QString m_deviceProfileId; - QString m_deviceId; - std::optional m_deInterlace = std::nullopt; - std::optional m_cpuCoreLimit = std::nullopt; - std::optional m_copyTimestamps = std::nullopt; - EncodingContext m_context; - QString m_container; - std::optional m_breakOnNonKeyFrames = std::nullopt; - std::optional m_audioStreamIndex = std::nullopt; - std::optional m_audioSampleRate = std::nullopt; - QString m_audioCodec; - std::optional m_audioChannels = std::nullopt; - std::optional m_audioBitRate = std::nullopt; - std::optional m_allowVideoStreamCopy = std::nullopt; - std::optional m_allowAudioStreamCopy = std::nullopt; - -}; - -class MergeVersionsParams { -public: - /** - * @brief Item id list. This allows multiple, comma delimited. - */ - QStringList ids() const; - void setIds(QStringList newIds) const; - private: // Required path parameters // Required query parameters - QStringList m_ids; - - // Optional path parameters // Optional query parameters }; -class GetYearsParams { -public: - /** - * @brief User Id. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - /** - * @brief Skips over a given number of items within the results. Use for paging. - */ - std::optional startIndex() const; - void setStartIndex(std::optional newStartIndex) const; - - /** - * @brief Sort Order - Ascending,Descending. - */ - QString sortOrder() const; - void setSortOrder(QString newSortOrder) const; - - /** - * @brief Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - */ - QString sortBy() const; - void setSortBy(QString newSortBy) const; - - /** - * @brief Search recursively. - */ - bool recursive() const; - void setRecursive(bool newRecursive) const; - - /** - * @brief Specify this to localize the search to a specific item or folder. Omit to use the root. - */ - QString parentId() const; - void setParentId(QString newParentId) const; - - /** - * @brief Optional. Filter by MediaType. Allows multiple, comma delimited. - */ - QStringList mediaTypes() const; - void setMediaTypes(QStringList newMediaTypes) const; - - /** - * @brief Optional. The maximum number of records to return. - */ - std::optional limit() const; - void setLimit(std::optional newLimit) const; - - /** - * @brief Optional. If specified, results will be included based on item type. This allows multiple, comma delimited. - */ - QStringList includeItemTypes() const; - void setIncludeItemTypes(QStringList newIncludeItemTypes) const; - - /** - * @brief Optional. The max number of images to return, per image type. - */ - std::optional imageTypeLimit() const; - void setImageTypeLimit(std::optional newImageTypeLimit) const; - - /** - * @brief Optional. Specify additional fields of information to return in the output. - */ - QList fields() const; - void setFields(QList newFields) const; - - /** - * @brief Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited. - */ - QStringList excludeItemTypes() const; - void setExcludeItemTypes(QStringList newExcludeItemTypes) const; - - /** - * @brief Optional. Include user data. - */ - std::optional enableUserData() const; - void setEnableUserData(std::optional newEnableUserData) const; - - /** - * @brief Optional. Include image information in output. - */ - std::optional enableImages() const; - void setEnableImages(std::optional newEnableImages) const; - - /** - * @brief Optional. The image types to include in the output. - */ - QList enableImageTypes() const; - void setEnableImageTypes(QList newEnableImageTypes) const; - - -private: - // Required path parameters - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - std::optional m_startIndex = std::nullopt; - QString m_sortOrder; - QString m_sortBy; - bool m_recursive; - QString m_parentId; - QStringList m_mediaTypes; - std::optional m_limit = std::nullopt; - QStringList m_includeItemTypes; - std::optional m_imageTypeLimit = std::nullopt; - QList m_fields; - QStringList m_excludeItemTypes; - std::optional m_enableUserData = std::nullopt; - std::optional m_enableImages = std::nullopt; - QList m_enableImageTypes; - -}; - -class GetYearParams { -public: - /** - * @brief The year. - */ - qint32 year() const; - void setYear(qint32 newYear) const; - - /** - * @brief Optional. Filter by user id, and attach user data. - */ - QString userId() const; - void setUserId(QString newUserId) const; - - -private: - // Required path parameters - qint32 m_year; - - // Required query parameters - - // Optional path parameters - - // Optional query parameters - QString m_userId; - -}; - } // NS Loader diff --git a/core/include/JellyfinQt/model/item.h b/core/include/JellyfinQt/model/item.h index 60797bd..e313f74 100644 --- a/core/include/JellyfinQt/model/item.h +++ b/core/include/JellyfinQt/model/item.h @@ -45,7 +45,7 @@ public: * @param other The item to compare to * @return True if they represent the same item, false otherwise. */ - bool sameAs(const Item &other); + bool sameAs(const DTO::BaseItemDto &other); void setApiClient(ApiClient *apiClient); private: @@ -55,10 +55,6 @@ private: void onUserDataUpdated(const QString &itemId, const DTO::UserItemDataDto &userData); }; -class ItemLoader { - -}; - } } diff --git a/core/include/JellyfinQt/support/jsonconv.h b/core/include/JellyfinQt/support/jsonconv.h index 52113ff..4f47a99 100644 --- a/core/include/JellyfinQt/support/jsonconv.h +++ b/core/include/JellyfinQt/support/jsonconv.h @@ -80,7 +80,16 @@ QJsonValue toJsonValue(const QList &source) { return result; } -} +/** + * Templates for string conversion. + */ +template +QString toString(const T &source) { + return toJsonValue(source).toString(); } + +} // NS Support +} // NS Jellyfin + #endif // JSONCONV_H diff --git a/core/include/JellyfinQt/support/loader.h b/core/include/JellyfinQt/support/loader.h index 47426fd..e389397 100644 --- a/core/include/JellyfinQt/support/loader.h +++ b/core/include/JellyfinQt/support/loader.h @@ -76,7 +76,7 @@ public: * if the network is not available. * @return True if this loader is available, false otherwise. */ - virtual bool isAvailable() const; + virtual bool isAvailable() const { return false; }; protected: Jellyfin::ApiClient *m_apiClient; }; @@ -121,7 +121,7 @@ public: : Loader (apiClient) {} virtual std::optional load(const P ¶meters) const override { - QNetworkReply *reply = this->m_apiClient->get(url(parameters), query(parameters)); + QNetworkReply *reply = this->m_apiClient->get(path(parameters), query(parameters)); QByteArray array; while (!reply->atEnd()) { if (!reply->waitForReadyRead(HTTP_TIMEOUT)) { @@ -144,9 +144,22 @@ public: } return fromJsonValue(QJsonValue(document.object())); } + + bool isAvailable() const override { + if (this->m_apiClient == nullptr) { + return false; + } + return this->m_apiClient->online(); + } protected: - virtual QString url(const P ¶meters) const; - virtual QUrlQuery query(const P ¶meters) const; + /** + * @brief Subclasses should override this method to return the path to this endpoint, + * with all path parameters inserted. + * @param parameters The parameters for this request. + * @return The path for this endpoint + */ + virtual QString path(const P ¶meters) const = 0; + virtual QUrlQuery query(const P ¶meters) const = 0; }; } // NS Support diff --git a/core/include/JellyfinQt/viewmodel/item.h b/core/include/JellyfinQt/viewmodel/item.h index f95b711..ddfb84f 100644 --- a/core/include/JellyfinQt/viewmodel/item.h +++ b/core/include/JellyfinQt/viewmodel/item.h @@ -40,6 +40,7 @@ #include "namedguidpair.h" #include "userdata.h"*/ +#include "../loader/http/getitem.h" #include "../loader/requesttypes.h" #include "../model/item.h" #include "loader.h" @@ -51,7 +52,8 @@ namespace ViewModel { class Item : public QObject { Q_OBJECT public: - Q_INVOKABLE explicit Item(QSharedPointer data = QSharedPointer(), + explicit Item(QObject *parent = nullptr); + explicit Item(QSharedPointer data = QSharedPointer(), QObject *parent = nullptr); // Please keep the order of the properties the same as in the file linked above. @@ -185,10 +187,24 @@ protected: QSharedPointer m_data; }; -class ItemLoader : Loader { +class ItemLoader : public Loader { Q_OBJECT + using BaseClass = Loader; public: explicit ItemLoader(QObject *parent = nullptr); + Q_PROPERTY(QString itemId READ itemId WRITE setItemId NOTIFY itemIdChanged) + + QString itemId() const { return m_parameters.itemId(); } + void setItemId(QString newItemId) { m_parameters.setItemId(newItemId); } + virtual bool canReload() const override; + +signals: + void itemIdChanged(const QString &newItemId) const; + +private slots: + void onApiClientChanged(ApiClient *newApiClient); +private: + void setUserId(const QString &newUserId); }; } // NS ViewModel diff --git a/core/include/JellyfinQt/viewmodel/loader.h b/core/include/JellyfinQt/viewmodel/loader.h index dcb99c3..6d94347 100644 --- a/core/include/JellyfinQt/viewmodel/loader.h +++ b/core/include/JellyfinQt/viewmodel/loader.h @@ -61,10 +61,13 @@ public: Q_PROPERTY(Status status READ status NOTIFY statusChanged STORED false) Q_PROPERTY(QString errorString READ errorString NOTIFY errorStringChanged STORED false) Q_PROPERTY(bool autoReload MEMBER m_autoReload NOTIFY autoReloadChanged) + Q_PROPERTY(QObject *data READ data NOTIFY dataChanged STORED false) Status status() const { return m_status; } QString errorString() const { return m_errorString; } + virtual QObject *data() const { return nullptr; } + void setApiClient(ApiClient *newApiClient); void setExtraFields(const QStringList &extraFields); signals: @@ -72,7 +75,7 @@ signals: void apiClientChanged(ApiClient *newApiClient); void errorStringChanged(QString newErrorString); void autoReloadChanged(bool newAutoReload); - void viewModelChanged(); + void dataChanged(); /** * @brief Convenience signal for status == RemoteData.Ready. @@ -139,19 +142,19 @@ template class Loader : public LoaderBase { using RFutureWatcher = QFutureWatcher>; public: - Loader(QObject *parent = nullptr) - : LoaderBase(parent), - m_futureWatcher(new RFutureWatcher) { - m_dataViewModel = new T(this); - connect(m_futureWatcher, &RFutureWatcher::finished, this, &Loader::updateData()); - } - Loader(ApiClient *apiClient, QObject *parent = nullptr) + Loader(Support::Loader loaderImpl, QObject *parent = nullptr) + : Loader(nullptr, loaderImpl, parent) {} + + Loader(ApiClient *apiClient, Support::Loader loaderImpl, QObject *parent = nullptr) : LoaderBase(apiClient, parent), + m_loader(loaderImpl), m_futureWatcher(new QFutureWatcher>) { m_dataViewModel = new T(this); + connect(m_futureWatcher, &RFutureWatcher::finished, this, &Loader::updateData); } T *dataViewModel() const { return m_dataViewModel; } + QObject *data() const { return m_dataViewModel; } void reload() override { setStatus(Loading); @@ -186,14 +189,16 @@ private: * @brief Updates the data when finished. */ void updateData() { - std::optional newData = m_futureWatcher->result(); - if (newData.has_value()) { - if (newData.sameAs(*m_dataViewModel->data())) { + std::optional newDataOpt = m_futureWatcher->result(); + if (newDataOpt.has_value()) { + R newData = newDataOpt.value(); + if (m_dataViewModel->data()->sameAs(newData)) { // Replace the data the model holds - m_dataViewModel->data()->replaceData(*newData); + m_dataViewModel->data()->replaceData(newData); } else { // Replace the model - m_dataViewModel->setData(QSharedPointer::create(*newData, m_apiClient)); + using PointerType = typename decltype(m_dataViewModel->data())::Type; + m_dataViewModel = new T(QSharedPointer::create(newData), this); } setStatus(Ready); emitDataChanged(); diff --git a/core/openapigenerator.d b/core/openapigenerator.d index 4cc1b1b..e2a7865 100755 --- a/core/openapigenerator.d +++ b/core/openapigenerator.d @@ -30,8 +30,9 @@ EOL"; import std.algorithm; import std.array; import std.conv; -import std.file : mkdirRecurse; import std.exception; +import std.file : mkdirRecurse; +import std.functional; import std.path : buildPath, dirSeparator; import std.parallelism : parallel; import std.range; @@ -42,6 +43,41 @@ import std.uni; import dyaml; import handlebars.tpl; +/* + * Dear future (potential) employers, hereby I swear I will not brew up such unmaintainable code + * if you would hire me and treat me well. + */ + +/* + * What should I use? + * I cannot use GTAD. + * I cannot use GTAD, because it does not support OpenAPI 3. + * + * What should I use? + * I cannot use openapi-generator. + * I cannot use openapi-generator, because it generates too much. + * + * … + * + * I was in doubt about writing my own script. + * Since it sounds easy and fun to do. + * I was in doubt about writing my own script. + * Since using DLANG fills me with joy. + * + * |: I was even in two minds + * But I took no risk + * I've been thinking about writing my own script. :| [2×] + * + * My own script? + * My own script? + * My— own— script~? + * + * |: Is there life on Pluto? + * Are we able to dance on the moon? + * Is there some space between the stars I where I'm able to go to? :| [2×] + * + */ + static this() { COPYRIGHT ~= q"EOS /* @@ -169,10 +205,13 @@ void realMain(string[] args) { } } 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+"); - implementationFiles ~= [typesHeaderPath]; + File typesImplementation = File(typesImplementationPath, "w+"); + headerFiles ~= [typesHeaderPath]; + implementationFiles ~= [typesImplementationPath]; - writeRequestTypesFile(typesHeader, endpoints[]); + writeRequestTypesFile(typesHeader, typesImplementation, endpoints[].sort!((a, b) => a.name < b.name)); writeCMakeFile(headerFiles[], implementationFiles[]); } @@ -205,7 +244,15 @@ void writeCMakeFile(string[] headerFiles, string[] implementationFiles) { output.writeln(")"); } -void writeRequestTypesFile(R)(File headerFile, R endpoints) if(is(ElementType!R : Endpoint)) { +/** + * Writes the file with all the types that are just used for making requests to the API endpoint + * + * Params: + * headerFile = The file to write the header to + * implementationFile = The file to write the implememntation to + * endpoints = A list of endpoints to extract request type information from. + */ +void writeRequestTypesFile(R)(File headerFile, File implementationFile, R endpoints) if(is(ElementType!R : Endpoint)) { string[] collectImports(R range, bool function(MetaTypeInfo) predicate) { return endpoints @@ -242,7 +289,7 @@ void writeRequestTypesFile(R)(File headerFile, R endpoints) if(is(ElementType!R return params .filter!pred .array - .sort!((a, b) => a.name > b.name) + .sort!((a, b) => a.name < b.name) .array .array; } @@ -253,12 +300,11 @@ void writeRequestTypesFile(R)(File headerFile, R endpoints) if(is(ElementType!R .map!(e => buildPath(MODEL_FOLDER, e.applyCasePolicy(CasePolicy.PASCAL, CasePolicy.LOWER) ~ ".h")) .array; - headerFile.writeHeaderPreamble(CPP_NAMESPACE_LOADER, "RequestTypes", systemImports, userImports); + struct EndpointController { string name; RequestParameter[] requiredPathParameters = []; - RequestParameter[] optionalPathParameters = []; RequestParameter[] requiredQueryParameters = []; RequestParameter[] optionalQueryParameters = []; RequestParameter[] requiredParameters = []; @@ -278,22 +324,25 @@ void writeRequestTypesFile(R)(File headerFile, R endpoints) if(is(ElementType!R endpointController.name = endpoint.parameterType; endpointController.requiredPathParameters = getParameters(endpoint.parameters, (e => e.required && e.location == ParameterLocation.PATH)); - endpointController.optionalPathParameters = - getParameters(endpoint.parameters, (e => !e.required && e.location == ParameterLocation.PATH)); endpointController.requiredQueryParameters = getParameters(endpoint.parameters, (e => e.required && e.location == ParameterLocation.QUERY)); endpointController.optionalQueryParameters = getParameters(endpoint.parameters, (e => !e.required && e.location == ParameterLocation.QUERY)); with (endpointController) { - parameters = requiredPathParameters ~ requiredQueryParameters ~ optionalPathParameters ~ optionalQueryParameters; + parameters = requiredPathParameters ~ requiredQueryParameters ~ optionalQueryParameters; requiredParameters = requiredPathParameters ~ requiredQueryParameters; - optionalParameters = optionalPathParameters ~ optionalQueryParameters; + optionalParameters = optionalQueryParameters; } controller.endpoints ~= [endpointController]; } + headerFile.writeHeaderPreamble(CPP_NAMESPACE_LOADER, "RequestTypes", systemImports, userImports); headerFile.writeln(render!(import("loader_types_header.hbs"), Controller)(controller)); headerFile.writeHeaderPostamble(CPP_NAMESPACE_LOADER, "RequestTypes"); + + implementationFile.writeImplementationPreamble(CPP_NAMESPACE_LOADER, LOADER_FOLDER, "RequestTypes"); + implementationFile.writeln(render!(import("loader_types_implementation.hbs"), Controller)(controller)); + implementationFile.writeImplementationPostamble(CPP_NAMESPACE_LOADER, "RequestTypes"); } /** @@ -314,11 +363,18 @@ void generateFileForEndpoint(ref const string path, ref const string operation, 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, "loader.h"), "apiclient.h", buildPath(LOADER_FOLDER, "requesttypes.h")]; + string[] userImports = [ + buildPath(SUPPORT_FOLDER, "jsonconv.h"), + buildPath(SUPPORT_FOLDER, "loader.h"), + buildPath(LOADER_FOLDER, "requesttypes.h"), + "apiclient.h" + ]; // Find the most likely result response. foreach(string code, const Node response; endpointNode["responses"]) { @@ -348,13 +404,23 @@ void generateFileForEndpoint(ref const string path, ref const string operation, 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); @@ -374,20 +440,36 @@ void generateFileForEndpoint(ref const string path, ref const string operation, string responseType = "void"; string parameterType = "void"; Endpoint endpoint; + + string pathStringInterpolation() { + string result = "QStringLiteral(\"" ~ endpoint.path ~ "\")"; + foreach(p; endpoint.parameters.filter!(p => p.location == ParameterLocation.PATH)) { + result = result.replace("{" ~ p.name ~ "}", "\") + Support::toString(params." ~ p.type.name ~ "()) + QStringLiteral(\""); + } + result = result.replace(`+ QStringLiteral("")`, ""); + return result; + } } Controller controller = new Controller(); controller.className = name.applyCasePolicy(OPENAPI_CASING, CPP_CLASS_CASING); controller.endpoint = endpoint; - //controller.properties = properties; writeHeaderPreamble(headerFile, CPP_NAMESPACE_LOADER_HTTP, name, systemImports, userImports); headerFile.writeln(render!(import("loader_header.hbs"), Controller)(controller)); writeHeaderPostamble(headerFile, CPP_NAMESPACE_LOADER_HTTP, name); + + writeImplementationPreamble(implementationFile, CPP_NAMESPACE_LOADER_HTTP, HTTP_LOADER_FOLDER, name); + implementationFile.writeln(render!(import("loader_implementation.hbs"), Controller)(controller)); + writeImplementationPostamble(implementationFile, CPP_NAMESPACE_LOADER_HTTP, name); } +/** + * Generates a file containing a class generated based on the given JSON Schema. + */ void generateFileForSchema(ref const string name, ref const Node scheme, Node allSchemas, ref scope File headerFile, ref scope File implementationFile) { + // Check if this JSON "thing" is an enum if ("enum" in scheme) { string[3] imports = ["QJsonValue", "QObject", "QString"]; string[1] userImports = [buildPath(SUPPORT_FOLDER, "jsonconv.h")]; @@ -400,10 +482,12 @@ void generateFileForSchema(ref const string name, ref const Node scheme, Node al writeEnumHeader(headerFile, name, values[]); writeHeaderPostamble(headerFile, CPP_NAMESPACE_DTO, name); - writeImplementationPreamble(implementationFile, CPP_NAMESPACE_DTO, name); + writeImplementationPreamble(implementationFile, CPP_NAMESPACE_DTO, MODEL_FOLDER, name); writeEnumImplementation(implementationFile, name, values[]); writeImplementationPostamble(implementationFile, CPP_NAMESPACE_DTO, name); } + + // Check if this is an object if (scheme["type"].as!string == "object" && "properties" in scheme) { // Determine all imports Appender!(string[]) systemImports, userImports; @@ -452,41 +536,72 @@ void generateFileForSchema(ref const string name, ref const Node scheme, Node al writeObjectHeader(headerFile, name, usedTypes, sortedForwardDeclarations); writeHeaderPostamble(headerFile, CPP_NAMESPACE_DTO, name); - writeImplementationPreamble(implementationFile, CPP_NAMESPACE_DTO, name); + writeImplementationPreamble(implementationFile, CPP_NAMESPACE_DTO, MODEL_FOLDER, name); writeObjectImplementation(implementationFile, name, usedTypes); writeImplementationPostamble(implementationFile, CPP_NAMESPACE_DTO, name); + } else if (scheme["type"] == "object") { + // Write implementation files + writeHeaderPreamble(headerFile, CPP_NAMESPACE_DTO, name, ["QJsonObject"]); + headerFile.writefln("using %s = QJsonObject;", name); + writeHeaderPostamble(headerFile, CPP_NAMESPACE_DTO, name); + + writeImplementationPreamble(implementationFile, CPP_NAMESPACE_DTO, MODEL_FOLDER, name); + headerFile.writeln("// No implementation needed"); + writeImplementationPostamble(implementationFile, CPP_NAMESPACE_DTO, name); } } // Object // We need to recurse (sometimes) -MetaTypeInfo getType(ref string name, const ref Node node, const ref Node allSchemas) { +/** + * Create a MetaTypeInfo object based on a JSON schema + * + * In the future, this implementation should use some form of configuration file + * which contains data about the built-in types, since hard-coding doesn't seem like a + * good idea. + * + * Params: + * name = The name of this object + * node = The node containing the JSON Schema of this object + * allSchemas = The node containing the a map of names to JSON Schemas, which the node + * parameter could refrence. + */ +MetaTypeInfo getType(ref const string name, const ref Node node, const ref Node allSchemas) { MetaTypeInfo info = new MetaTypeInfo(); info.originalName = name; info.name = name.applyCasePolicy(OPENAPI_CASING, CPP_CLASS_MEMBER_CASING); + info.defaultValue = node.getOr!string("default", ""); + if ("description" in node) { info.description = node["description"].as!string; } // Special case for QML info.name = memberAliases.get(info.name.toLower(), info.name); - info.isNullable = node.getOr("nullable", false); + // Check if this schema is a reference to another schema if ("$ref" in node) { string type = node["$ref"].as!string()["#/components/schemas/".length..$]; - if (type in allSchemas&& "type" in allSchemas[type] - && allSchemas[type]["type"].as!string == "object") { - info.needsPointer = true; - info.isTypeNullable = true; - info.typeNullableCheck = ".isNull()"; - info.typeNullableSetter = ".clear()"; - } - info.needsLocalImport = true; - info.typeName = type; + info.typeName = type; + if (type in allSchemas) { + if ("type" in allSchemas[type] + && allSchemas[type]["type"].as!string == "object") { + info.needsPointer = true; + info.isTypeNullable = true; + info.typeNullableCheck = ".isNull()"; + info.typeNullableSetter = ".clear()"; + } else if ("enum" in allSchemas[type]) { + info.isTypeNullable = true; + info.typeNullableCheck = "== " ~ info.typeName ~ "::EnumNotSet"; + info.typeNullableSetter = "= " ~ info.typeName ~ "::EnumNotSet"; + } + } return info; } + + // No type information specified. As a fallback, use a QVariant. if (!("type" in node)) { info.typeName = "QVariant"; info.isTypeNullable = true; @@ -495,6 +610,8 @@ MetaTypeInfo getType(ref string name, const ref Node node, const ref Node allSch info.typeNullableSetter = ".clear()"; return info; } + + info.isNullable = node.getOr!bool("nullable", false); switch(node["type"].as!string) { case "boolean": info.typeName = "bool"; @@ -521,7 +638,7 @@ MetaTypeInfo getType(ref string name, const ref Node node, const ref Node allSch } } info.isTypeNullable = true; - info.typeName= "QString"; + info.typeName = "QString"; info.needsSystemImport = true; info.typeNullableCheck = ".isNull()"; info.typeNullableSetter = ".clear()"; @@ -669,9 +786,9 @@ void writeHeaderPostamble(File output, immutable string[] fileNamespace, string output.writefln("#endif // %s", guardName(fileNamespace, className)); } -void writeImplementationPreamble(File output, immutable string[] fileNamespace, string className, string[] imports = []) { +void writeImplementationPreamble(File output, immutable string[] fileNamespace, string folder, string className, string[] imports = []) { output.writeln(COPYRIGHT); - output.writefln("#include <%s>", buildPath(INCLUDE_PREFIX, MODEL_FOLDER, className.applyCasePolicy(OPENAPI_CASING, CasePolicy.LOWER) ~ ".h")); + output.writefln("#include <%s>", buildPath(INCLUDE_PREFIX, folder, className.applyCasePolicy(OPENAPI_CASING, CasePolicy.LOWER) ~ ".h")); output.writeln(); foreach(file; imports) { @@ -786,6 +903,11 @@ public: /// For use in templating bool isLast = false; + string defaultValue = ""; + + bool hasDefaultValue() { + return defaultValue.length > 0; + } string writeName() { return name.applyCasePolicy(CPP_CLASS_MEMBER_CASING, CasePolicy.PASCAL); @@ -807,17 +929,17 @@ public: } bool needsOptional() { - return isNullable && !isTypeNullable; + return (isNullable || hasDefaultValue) && !isTypeNullable; } string typeNullableCheck; string nullableCheck() { - if (typeNullableCheck.length > 0) { - return memberName ~ typeNullableCheck; - } if (needsOptional) { return "!" ~ memberName ~ ".has_value()"; + } else if (typeNullableCheck.length > 0) { + return memberName ~ typeNullableCheck; } + return "Q_ASSERT(false)"; } @@ -840,22 +962,42 @@ public: } } +/** + * Represents an API endpoint. + */ class Endpoint { bool resultIsReference = false; bool hasSuccessResponse = false; + string name; + + /// The type of the string resultType; + + /// The name of the structure containing the parameters for this endpoint. string parameterType = "void"; + /// HTTP path for this endpoint. + string path; + + /// Description/documentation for this endpoint string description; + /// HTTP method for this endpoint string method; + /// List of all parameters for this request RequestParameter[] parameters = []; + + RequestParameter[] requiredPathParameters; + RequestParameter[] requiredQueryParameters; + RequestParameter[] optionalQueryParameters; } enum ParameterLocation { PATH, - QUERY + QUERY, + COOKIE, + HEADER } class RequestParameter { @@ -924,6 +1066,7 @@ T getOr(T)(const ref Node node, string key, T or) { return or; } } else { + //stdout.writefln("Could not find %s", key); return or; } } diff --git a/core/src/dto/basepluginconfiguration.cpp b/core/src/dto/basepluginconfiguration.cpp index e69de29..6f79fbe 100644 --- a/core/src/dto/basepluginconfiguration.cpp +++ b/core/src/dto/basepluginconfiguration.cpp @@ -0,0 +1,37 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace DTO { + + +} // NS DTO +} // NS Jellyfin diff --git a/core/src/dto/objectgroupupdate.cpp b/core/src/dto/objectgroupupdate.cpp index 1587b99..26a3a02 100644 --- a/core/src/dto/objectgroupupdate.cpp +++ b/core/src/dto/objectgroupupdate.cpp @@ -87,14 +87,7 @@ QVariant ObjectGroupUpdate::data() const { return m_data; } void ObjectGroupUpdate::setData(QVariant newData) { m_data = newData; } -bool ObjectGroupUpdate::dataNull() const { - return m_data.isNull(); -} -void ObjectGroupUpdate::setDataNull() { - m_data.clear(); - -} } // NS DTO diff --git a/core/src/jellyfin.cpp b/core/src/jellyfin.cpp index 1056d64..94ca9e3 100644 --- a/core/src/jellyfin.cpp +++ b/core/src/jellyfin.cpp @@ -22,7 +22,10 @@ namespace Jellyfin { void registerTypes(const char *uri) { qmlRegisterType(uri, 1, 0, "ApiClient"); qmlRegisterType(uri, 1, 0, "ServerDiscoveryModel"); - qmlRegisterType(uri, 1, 0, "Item"); + + qmlRegisterUncreatableType(uri, 1, 0, "Item", "Acquire one via ItemLoader or exposed properties"); + qmlRegisterType(uri, 1, 0, "ItemLoader"); + qmlRegisterType(uri, 1, 0, "PlaybackManager"); qmlRegisterUncreatableType(uri, 1, 0, "GeneralCommandType", "Is an enum"); diff --git a/core/src/loader/http/activate.cpp b/core/src/loader/http/activate.cpp index e69de29..cd18977 100644 --- a/core/src/loader/http/activate.cpp +++ b/core/src/loader/http/activate.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/addlistingprovider.cpp b/core/src/loader/http/addlistingprovider.cpp index e69de29..8bde8dd 100644 --- a/core/src/loader/http/addlistingprovider.cpp +++ b/core/src/loader/http/addlistingprovider.cpp @@ -0,0 +1,68 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +AddListingProvider::AddListingProvider(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AddListingProvider::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 AddListingProvider::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 index e69de29..8aae9c8 100644 --- a/core/src/loader/http/addmediapath.cpp +++ b/core/src/loader/http/addmediapath.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..1c20d74 100644 --- a/core/src/loader/http/addtocollection.cpp +++ b/core/src/loader/http/addtocollection.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..09cba35 100644 --- a/core/src/loader/http/addtoplaylist.cpp +++ b/core/src/loader/http/addtoplaylist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..2335904 100644 --- a/core/src/loader/http/addtunerhost.cpp +++ b/core/src/loader/http/addtunerhost.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +AddTunerHost::AddTunerHost(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AddTunerHost::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 AddTunerHost::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 index e69de29..fa06271 100644 --- a/core/src/loader/http/addusertosession.cpp +++ b/core/src/loader/http/addusertosession.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..af5664e 100644 --- a/core/src/loader/http/addvirtualfolder.cpp +++ b/core/src/loader/http/addvirtualfolder.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/applysearchcriteria.cpp b/core/src/loader/http/applysearchcriteria.cpp index e69de29..8d1a1cb 100644 --- a/core/src/loader/http/applysearchcriteria.cpp +++ b/core/src/loader/http/applysearchcriteria.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/authenticateuser.cpp b/core/src/loader/http/authenticateuser.cpp index e69de29..57045d7 100644 --- a/core/src/loader/http/authenticateuser.cpp +++ b/core/src/loader/http/authenticateuser.cpp @@ -0,0 +1,63 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +AuthenticateUser::AuthenticateUser(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AuthenticateUser::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(params.userId()) + QStringLiteral("/Authenticate"); +} + +QUrlQuery AuthenticateUser::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", 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 index e69de29..745f2ca 100644 --- a/core/src/loader/http/authenticateuserbyname.cpp +++ b/core/src/loader/http/authenticateuserbyname.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +AuthenticateUserByName::AuthenticateUserByName(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AuthenticateUserByName::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 AuthenticateUserByName::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 index e69de29..807d4a3 100644 --- a/core/src/loader/http/authenticatewithquickconnect.cpp +++ b/core/src/loader/http/authenticatewithquickconnect.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +AuthenticateWithQuickConnect::AuthenticateWithQuickConnect(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString AuthenticateWithQuickConnect::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 AuthenticateWithQuickConnect::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 index e69de29..177ed0f 100644 --- a/core/src/loader/http/authorize.cpp +++ b/core/src/loader/http/authorize.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/available.cpp b/core/src/loader/http/available.cpp index e69de29..d393a3f 100644 --- a/core/src/loader/http/available.cpp +++ b/core/src/loader/http/available.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/cancelpackageinstallation.cpp b/core/src/loader/http/cancelpackageinstallation.cpp index e69de29..abe7255 100644 --- a/core/src/loader/http/cancelpackageinstallation.cpp +++ b/core/src/loader/http/cancelpackageinstallation.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..54d3f79 100644 --- a/core/src/loader/http/cancelseriestimer.cpp +++ b/core/src/loader/http/cancelseriestimer.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d99c163 100644 --- a/core/src/loader/http/canceltimer.cpp +++ b/core/src/loader/http/canceltimer.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/closelivestream.cpp b/core/src/loader/http/closelivestream.cpp index e69de29..c091a8b 100644 --- a/core/src/loader/http/closelivestream.cpp +++ b/core/src/loader/http/closelivestream.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/completewizard.cpp b/core/src/loader/http/completewizard.cpp index e69de29..0c978af 100644 --- a/core/src/loader/http/completewizard.cpp +++ b/core/src/loader/http/completewizard.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/connect.cpp b/core/src/loader/http/connect.cpp index e69de29..f0b595a 100644 --- a/core/src/loader/http/connect.cpp +++ b/core/src/loader/http/connect.cpp @@ -0,0 +1,60 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +Connect::Connect(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString Connect::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 Connect::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", 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 index e69de29..a7bcb5b 100644 --- a/core/src/loader/http/createadminnotification.cpp +++ b/core/src/loader/http/createadminnotification.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/createcollection.cpp index e69de29..c23d58e 100644 --- a/core/src/loader/http/createcollection.cpp +++ b/core/src/loader/http/createcollection.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +CreateCollection::CreateCollection(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString CreateCollection::path(const CreateCollectionParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Collections"); +} + +QUrlQuery CreateCollection::query(const CreateCollectionParams ¶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.parentIdNull()) { + result.addQueryItem("parentId", Support::toString(params.parentId())); + } + if (!params.isLockedNull()) { + result.addQueryItem("isLocked", Support::toString(params.isLocked())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/createkey.cpp b/core/src/loader/http/createkey.cpp index e69de29..f3d3373 100644 --- a/core/src/loader/http/createkey.cpp +++ b/core/src/loader/http/createkey.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d19e34c 100644 --- a/core/src/loader/http/createplaylist.cpp +++ b/core/src/loader/http/createplaylist.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +CreatePlaylist::CreatePlaylist(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString CreatePlaylist::path(const CreatePlaylistParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Playlists"); +} + +QUrlQuery CreatePlaylist::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 index e69de29..123d42c 100644 --- a/core/src/loader/http/createprofile.cpp +++ b/core/src/loader/http/createprofile.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..24c17fd 100644 --- a/core/src/loader/http/createseriestimer.cpp +++ b/core/src/loader/http/createseriestimer.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..bc08fc1 100644 --- a/core/src/loader/http/createtimer.cpp +++ b/core/src/loader/http/createtimer.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..2395404 100644 --- a/core/src/loader/http/createuserbyname.cpp +++ b/core/src/loader/http/createuserbyname.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +CreateUserByName::CreateUserByName(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString CreateUserByName::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 CreateUserByName::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/deauthorize.cpp b/core/src/loader/http/deauthorize.cpp index e69de29..3a2188d 100644 --- a/core/src/loader/http/deauthorize.cpp +++ b/core/src/loader/http/deauthorize.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/deletealternatesources.cpp b/core/src/loader/http/deletealternatesources.cpp index e69de29..ae63a3b 100644 --- a/core/src/loader/http/deletealternatesources.cpp +++ b/core/src/loader/http/deletealternatesources.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..5ee7a03 100644 --- a/core/src/loader/http/deletedevice.cpp +++ b/core/src/loader/http/deletedevice.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..917b785 100644 --- a/core/src/loader/http/deleteitem.cpp +++ b/core/src/loader/http/deleteitem.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..6348614 100644 --- a/core/src/loader/http/deleteitemimage.cpp +++ b/core/src/loader/http/deleteitemimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f3270d4 100644 --- a/core/src/loader/http/deleteitemimagebyindex.cpp +++ b/core/src/loader/http/deleteitemimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..b9c547d 100644 --- a/core/src/loader/http/deleteitems.cpp +++ b/core/src/loader/http/deleteitems.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..b3e466e 100644 --- a/core/src/loader/http/deletelistingprovider.cpp +++ b/core/src/loader/http/deletelistingprovider.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9199de2 100644 --- a/core/src/loader/http/deleteprofile.cpp +++ b/core/src/loader/http/deleteprofile.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..6d44feb 100644 --- a/core/src/loader/http/deleterecording.cpp +++ b/core/src/loader/http/deleterecording.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..482310e 100644 --- a/core/src/loader/http/deletesubtitle.cpp +++ b/core/src/loader/http/deletesubtitle.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..e0f86d0 100644 --- a/core/src/loader/http/deletetunerhost.cpp +++ b/core/src/loader/http/deletetunerhost.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..394cce2 100644 --- a/core/src/loader/http/deleteuser.cpp +++ b/core/src/loader/http/deleteuser.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..44bdb74 100644 --- a/core/src/loader/http/deleteuserimage.cpp +++ b/core/src/loader/http/deleteuserimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f2161ba 100644 --- a/core/src/loader/http/deleteuserimagebyindex.cpp +++ b/core/src/loader/http/deleteuserimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..a12cecf 100644 --- a/core/src/loader/http/deleteuseritemrating.cpp +++ b/core/src/loader/http/deleteuseritemrating.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +DeleteUserItemRating::DeleteUserItemRating(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString DeleteUserItemRating::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(params.userId()) + QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/Rating"); +} + +QUrlQuery DeleteUserItemRating::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/disableplugin.cpp b/core/src/loader/http/disableplugin.cpp index e69de29..68ab7b5 100644 --- a/core/src/loader/http/disableplugin.cpp +++ b/core/src/loader/http/disableplugin.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..af5df0b 100644 --- a/core/src/loader/http/discovertuners.cpp +++ b/core/src/loader/http/discovertuners.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/discvovertuners.cpp b/core/src/loader/http/discvovertuners.cpp index e69de29..24ad8c8 100644 --- a/core/src/loader/http/discvovertuners.cpp +++ b/core/src/loader/http/discvovertuners.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/displaycontent.cpp b/core/src/loader/http/displaycontent.cpp index e69de29..44fae13 100644 --- a/core/src/loader/http/displaycontent.cpp +++ b/core/src/loader/http/displaycontent.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/downloadremoteimage.cpp b/core/src/loader/http/downloadremoteimage.cpp index e69de29..75b12d9 100644 --- a/core/src/loader/http/downloadremoteimage.cpp +++ b/core/src/loader/http/downloadremoteimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..0021611 100644 --- a/core/src/loader/http/downloadremotesubtitles.cpp +++ b/core/src/loader/http/downloadremotesubtitles.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/enableplugin.cpp b/core/src/loader/http/enableplugin.cpp index e69de29..470a3c3 100644 --- a/core/src/loader/http/enableplugin.cpp +++ b/core/src/loader/http/enableplugin.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/forgotpassword.cpp b/core/src/loader/http/forgotpassword.cpp index e69de29..aba4c05 100644 --- a/core/src/loader/http/forgotpassword.cpp +++ b/core/src/loader/http/forgotpassword.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +ForgotPassword::ForgotPassword(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString ForgotPassword::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 ForgotPassword::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 index e69de29..16dd9e5 100644 --- a/core/src/loader/http/forgotpasswordpin.cpp +++ b/core/src/loader/http/forgotpasswordpin.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +ForgotPasswordPin::ForgotPasswordPin(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString ForgotPasswordPin::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 ForgotPasswordPin::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/get.cpp b/core/src/loader/http/get.cpp index e69de29..272fe2a 100644 --- a/core/src/loader/http/get.cpp +++ b/core/src/loader/http/get.cpp @@ -0,0 +1,111 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +Get::Get(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString Get::path(const GetParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Search/Hints"); +} + +QUrlQuery Get::query(const GetParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("searchTerm", params.searchTerm()); + + // Optional parameters + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString(params.limit())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.includeItemTypesNull()) { + result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); + } + if (!params.excludeItemTypesNull()) { + result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); + } + if (!params.mediaTypesNull()) { + result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); + } + if (!params.parentIdNull()) { + result.addQueryItem("parentId", Support::toString(params.parentId())); + } + 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.includePeopleNull()) { + result.addQueryItem("includePeople", Support::toString(params.includePeople())); + } + if (!params.includeMediaNull()) { + result.addQueryItem("includeMedia", Support::toString(params.includeMedia())); + } + if (!params.includeGenresNull()) { + result.addQueryItem("includeGenres", Support::toString(params.includeGenres())); + } + if (!params.includeStudiosNull()) { + result.addQueryItem("includeStudios", Support::toString(params.includeStudios())); + } + if (!params.includeArtistsNull()) { + result.addQueryItem("includeArtists", Support::toString(params.includeArtists())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getadditionalpart.cpp b/core/src/loader/http/getadditionalpart.cpp index e69de29..b887904 100644 --- a/core/src/loader/http/getadditionalpart.cpp +++ b/core/src/loader/http/getadditionalpart.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetAdditionalPart::GetAdditionalPart(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetAdditionalPart::path(const GetAdditionalPartParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Videos/") + Support::toString(params.itemId()) + QStringLiteral("/AdditionalParts"); +} + +QUrlQuery GetAdditionalPart::query(const GetAdditionalPartParams ¶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/getalbumartists.cpp b/core/src/loader/http/getalbumartists.cpp index e69de29..d23ccd5 100644 --- a/core/src/loader/http/getalbumartists.cpp +++ b/core/src/loader/http/getalbumartists.cpp @@ -0,0 +1,149 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetAlbumArtists::GetAlbumArtists(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetAlbumArtists::path(const GetAlbumArtistsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Artists/AlbumArtists"); +} + +QUrlQuery GetAlbumArtists::query(const GetAlbumArtistsParams ¶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/getallchannelfeatures.cpp b/core/src/loader/http/getallchannelfeatures.cpp index e69de29..bacd607 100644 --- a/core/src/loader/http/getallchannelfeatures.cpp +++ b/core/src/loader/http/getallchannelfeatures.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getancestors.cpp b/core/src/loader/http/getancestors.cpp index e69de29..c824b4a 100644 --- a/core/src/loader/http/getancestors.cpp +++ b/core/src/loader/http/getancestors.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getartistbyname.cpp b/core/src/loader/http/getartistbyname.cpp index e69de29..06c1712 100644 --- a/core/src/loader/http/getartistbyname.cpp +++ b/core/src/loader/http/getartistbyname.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetArtistByName::GetArtistByName(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetArtistByName::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(params.name()) ; +} + +QUrlQuery GetArtistByName::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 index e69de29..381536a 100644 --- a/core/src/loader/http/getartistimage.cpp +++ b/core/src/loader/http/getartistimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9b43d82 100644 --- a/core/src/loader/http/getartists.cpp +++ b/core/src/loader/http/getartists.cpp @@ -0,0 +1,149 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetArtists::GetArtists(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetArtists::path(const GetArtistsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Artists"); +} + +QUrlQuery GetArtists::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 index e69de29..c3543d7 100644 --- a/core/src/loader/http/getattachment.cpp +++ b/core/src/loader/http/getattachment.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..e65d71e 100644 --- a/core/src/loader/http/getaudiostream.cpp +++ b/core/src/loader/http/getaudiostream.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9234a4b 100644 --- a/core/src/loader/http/getaudiostreambycontainer.cpp +++ b/core/src/loader/http/getaudiostreambycontainer.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..74b6dff 100644 --- a/core/src/loader/http/getauthproviders.cpp +++ b/core/src/loader/http/getauthproviders.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getbitratetestbytes.cpp b/core/src/loader/http/getbitratetestbytes.cpp index e69de29..003c6d0 100644 --- a/core/src/loader/http/getbitratetestbytes.cpp +++ b/core/src/loader/http/getbitratetestbytes.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..89556b3 100644 --- a/core/src/loader/http/getbookremotesearchresults.cpp +++ b/core/src/loader/http/getbookremotesearchresults.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getboxsetremotesearchresults.cpp b/core/src/loader/http/getboxsetremotesearchresults.cpp index e69de29..2250a9a 100644 --- a/core/src/loader/http/getboxsetremotesearchresults.cpp +++ b/core/src/loader/http/getboxsetremotesearchresults.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getbrandingcss.cpp b/core/src/loader/http/getbrandingcss.cpp index e69de29..f92075b 100644 --- a/core/src/loader/http/getbrandingcss.cpp +++ b/core/src/loader/http/getbrandingcss.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getbrandingcss_2.cpp b/core/src/loader/http/getbrandingcss_2.cpp index e69de29..dd47e9d 100644 --- a/core/src/loader/http/getbrandingcss_2.cpp +++ b/core/src/loader/http/getbrandingcss_2.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getbrandingoptions.cpp index e69de29..97fbc0a 100644 --- a/core/src/loader/http/getbrandingoptions.cpp +++ b/core/src/loader/http/getbrandingoptions.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetBrandingOptions::GetBrandingOptions(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetBrandingOptions::path(const GetBrandingOptionsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Branding/Configuration"); +} + +QUrlQuery GetBrandingOptions::query(const GetBrandingOptionsParams ¶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 index e69de29..8cfb512 100644 --- a/core/src/loader/http/getchannel.cpp +++ b/core/src/loader/http/getchannel.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetChannel::GetChannel(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetChannel::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(params.channelId()) ; +} + +QUrlQuery GetChannel::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 index e69de29..3805824 100644 --- a/core/src/loader/http/getchannelfeatures.cpp +++ b/core/src/loader/http/getchannelfeatures.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetChannelFeatures::GetChannelFeatures(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetChannelFeatures::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(params.channelId()) + QStringLiteral("/Features"); +} + +QUrlQuery GetChannelFeatures::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 index e69de29..1f298ab 100644 --- a/core/src/loader/http/getchannelitems.cpp +++ b/core/src/loader/http/getchannelitems.cpp @@ -0,0 +1,83 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetChannelItems::GetChannelItems(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetChannelItems::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(params.channelId()) + QStringLiteral("/Items"); +} + +QUrlQuery GetChannelItems::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 index e69de29..efd2c50 100644 --- a/core/src/loader/http/getchannelmappingoptions.cpp +++ b/core/src/loader/http/getchannelmappingoptions.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetChannelMappingOptions::GetChannelMappingOptions(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetChannelMappingOptions::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 GetChannelMappingOptions::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 index e69de29..edf63d7 100644 --- a/core/src/loader/http/getchannels.cpp +++ b/core/src/loader/http/getchannels.cpp @@ -0,0 +1,77 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetChannels::GetChannels(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetChannels::path(const GetChannelsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Channels"); +} + +QUrlQuery GetChannels::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 index e69de29..38e4fa8 100644 --- a/core/src/loader/http/getconfiguration.cpp +++ b/core/src/loader/http/getconfiguration.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetConfiguration::GetConfiguration(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetConfiguration::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 GetConfiguration::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/getconfigurationpages.cpp b/core/src/loader/http/getconfigurationpages.cpp index e69de29..48a9148 100644 --- a/core/src/loader/http/getconfigurationpages.cpp +++ b/core/src/loader/http/getconfigurationpages.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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.cpp b/core/src/loader/http/getconnectionmanager.cpp index e69de29..2715493 100644 --- a/core/src/loader/http/getconnectionmanager.cpp +++ b/core/src/loader/http/getconnectionmanager.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..38b5252 100644 --- a/core/src/loader/http/getconnectionmanager_2.cpp +++ b/core/src/loader/http/getconnectionmanager_2.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..5e35684 100644 --- a/core/src/loader/http/getconnectionmanager_3.cpp +++ b/core/src/loader/http/getconnectionmanager_3.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..2bf59bc 100644 --- a/core/src/loader/http/getcontentdirectory.cpp +++ b/core/src/loader/http/getcontentdirectory.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..5c7d866 100644 --- a/core/src/loader/http/getcontentdirectory_2.cpp +++ b/core/src/loader/http/getcontentdirectory_2.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9f61229 100644 --- a/core/src/loader/http/getcontentdirectory_3.cpp +++ b/core/src/loader/http/getcontentdirectory_3.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..817d8af 100644 --- a/core/src/loader/http/getcountries.cpp +++ b/core/src/loader/http/getcountries.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getcriticreviews.cpp b/core/src/loader/http/getcriticreviews.cpp index e69de29..591f65b 100644 --- a/core/src/loader/http/getcriticreviews.cpp +++ b/core/src/loader/http/getcriticreviews.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetCriticReviews::GetCriticReviews(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetCriticReviews::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(params.itemId()) + QStringLiteral("/CriticReviews"); +} + +QUrlQuery GetCriticReviews::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 index e69de29..7574f3b 100644 --- a/core/src/loader/http/getcultures.cpp +++ b/core/src/loader/http/getcultures.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getcurrentuser.cpp b/core/src/loader/http/getcurrentuser.cpp index e69de29..f38c938 100644 --- a/core/src/loader/http/getcurrentuser.cpp +++ b/core/src/loader/http/getcurrentuser.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetCurrentUser::GetCurrentUser(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetCurrentUser::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 GetCurrentUser::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 index e69de29..6290e73 100644 --- a/core/src/loader/http/getdashboardconfigurationpage.cpp +++ b/core/src/loader/http/getdashboardconfigurationpage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..a8dd713 100644 --- a/core/src/loader/http/getdefaultdirectorybrowser.cpp +++ b/core/src/loader/http/getdefaultdirectorybrowser.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetDefaultDirectoryBrowser::GetDefaultDirectoryBrowser(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDefaultDirectoryBrowser::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 GetDefaultDirectoryBrowser::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 index e69de29..e6692ce 100644 --- a/core/src/loader/http/getdefaultlistingprovider.cpp +++ b/core/src/loader/http/getdefaultlistingprovider.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetDefaultListingProvider::GetDefaultListingProvider(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDefaultListingProvider::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 GetDefaultListingProvider::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/getdefaultmetadataoptions.cpp b/core/src/loader/http/getdefaultmetadataoptions.cpp index e69de29..99ca501 100644 --- a/core/src/loader/http/getdefaultmetadataoptions.cpp +++ b/core/src/loader/http/getdefaultmetadataoptions.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetDefaultMetadataOptions::GetDefaultMetadataOptions(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDefaultMetadataOptions::path(const GetDefaultMetadataOptionsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/Configuration/MetadataOptions/Default"); +} + +QUrlQuery GetDefaultMetadataOptions::query(const GetDefaultMetadataOptionsParams ¶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/getdefaultprofile.cpp b/core/src/loader/http/getdefaultprofile.cpp index e69de29..23e7897 100644 --- a/core/src/loader/http/getdefaultprofile.cpp +++ b/core/src/loader/http/getdefaultprofile.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetDefaultProfile::GetDefaultProfile(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDefaultProfile::path(const GetDefaultProfileParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Dlna/Profiles/Default"); +} + +QUrlQuery GetDefaultProfile::query(const GetDefaultProfileParams ¶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 index e69de29..55319e9 100644 --- a/core/src/loader/http/getdefaulttimer.cpp +++ b/core/src/loader/http/getdefaulttimer.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetDefaultTimer::GetDefaultTimer(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDefaultTimer::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 GetDefaultTimer::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 index e69de29..7404c27 100644 --- a/core/src/loader/http/getdescriptionxml.cpp +++ b/core/src/loader/http/getdescriptionxml.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..99032f8 100644 --- a/core/src/loader/http/getdescriptionxml_2.cpp +++ b/core/src/loader/http/getdescriptionxml_2.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..abf034b 100644 --- a/core/src/loader/http/getdeviceinfo.cpp +++ b/core/src/loader/http/getdeviceinfo.cpp @@ -0,0 +1,60 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetDeviceInfo::GetDeviceInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDeviceInfo::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 GetDeviceInfo::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", 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 index e69de29..fa5d636 100644 --- a/core/src/loader/http/getdeviceoptions.cpp +++ b/core/src/loader/http/getdeviceoptions.cpp @@ -0,0 +1,60 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetDeviceOptions::GetDeviceOptions(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDeviceOptions::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 GetDeviceOptions::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", params.jellyfinId()); + + // Optional parameters + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getdevices.cpp b/core/src/loader/http/getdevices.cpp index e69de29..e6c62e5 100644 --- a/core/src/loader/http/getdevices.cpp +++ b/core/src/loader/http/getdevices.cpp @@ -0,0 +1,65 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetDevices::GetDevices(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDevices::path(const GetDevicesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Devices"); +} + +QUrlQuery GetDevices::query(const GetDevicesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.supportsSyncNull()) { + result.addQueryItem("supportsSync", Support::toString(params.supportsSync())); + } + 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/getdirectorycontents.cpp b/core/src/loader/http/getdirectorycontents.cpp index e69de29..c832a7f 100644 --- a/core/src/loader/http/getdirectorycontents.cpp +++ b/core/src/loader/http/getdirectorycontents.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getdisplaypreferences.cpp index e69de29..34ef237 100644 --- a/core/src/loader/http/getdisplaypreferences.cpp +++ b/core/src/loader/http/getdisplaypreferences.cpp @@ -0,0 +1,61 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetDisplayPreferences::GetDisplayPreferences(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetDisplayPreferences::path(const GetDisplayPreferencesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/DisplayPreferences/") + Support::toString(params.displayPreferencesId()) ; +} + +QUrlQuery GetDisplayPreferences::query(const GetDisplayPreferencesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("userId", params.userId()); + result.addQueryItem("client", params.client()); + + // Optional parameters + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getdownload.cpp b/core/src/loader/http/getdownload.cpp index e69de29..f6a781c 100644 --- a/core/src/loader/http/getdownload.cpp +++ b/core/src/loader/http/getdownload.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d29e77d 100644 --- a/core/src/loader/http/getdrives.cpp +++ b/core/src/loader/http/getdrives.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getendpointinfo.cpp b/core/src/loader/http/getendpointinfo.cpp index e69de29..32cabe9 100644 --- a/core/src/loader/http/getendpointinfo.cpp +++ b/core/src/loader/http/getendpointinfo.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetEndpointInfo::GetEndpointInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetEndpointInfo::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 GetEndpointInfo::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 index e69de29..584acae 100644 --- a/core/src/loader/http/getepisodes.cpp +++ b/core/src/loader/http/getepisodes.cpp @@ -0,0 +1,101 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetEpisodes::GetEpisodes(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetEpisodes::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(params.seriesId()) + QStringLiteral("/Episodes"); +} + +QUrlQuery GetEpisodes::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 index e69de29..259bca0 100644 --- a/core/src/loader/http/getexternalidinfos.cpp +++ b/core/src/loader/http/getexternalidinfos.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getfallbackfont.cpp b/core/src/loader/http/getfallbackfont.cpp index e69de29..3ff5fed 100644 --- a/core/src/loader/http/getfallbackfont.cpp +++ b/core/src/loader/http/getfallbackfont.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9939d47 100644 --- a/core/src/loader/http/getfallbackfontlist.cpp +++ b/core/src/loader/http/getfallbackfontlist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getfile.cpp b/core/src/loader/http/getfile.cpp index e69de29..78f75fd 100644 --- a/core/src/loader/http/getfile.cpp +++ b/core/src/loader/http/getfile.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..18e9f3f 100644 --- a/core/src/loader/http/getfirstuser.cpp +++ b/core/src/loader/http/getfirstuser.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetFirstUser::GetFirstUser(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetFirstUser::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 GetFirstUser::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 index e69de29..022ea2d 100644 --- a/core/src/loader/http/getfirstuser_2.cpp +++ b/core/src/loader/http/getfirstuser_2.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetFirstUser_2::GetFirstUser_2(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetFirstUser_2::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_2::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 index e69de29..90e41ab 100644 --- a/core/src/loader/http/getgeneralimage.cpp +++ b/core/src/loader/http/getgeneralimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9317b97 100644 --- a/core/src/loader/http/getgeneralimages.cpp +++ b/core/src/loader/http/getgeneralimages.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getgenre.cpp b/core/src/loader/http/getgenre.cpp index e69de29..4c30e7f 100644 --- a/core/src/loader/http/getgenre.cpp +++ b/core/src/loader/http/getgenre.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetGenre::GetGenre(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetGenre::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(params.genreName()) ; +} + +QUrlQuery GetGenre::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 index e69de29..8fd00b7 100644 --- a/core/src/loader/http/getgenreimage.cpp +++ b/core/src/loader/http/getgenreimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..2152da7 100644 --- a/core/src/loader/http/getgenreimagebyindex.cpp +++ b/core/src/loader/http/getgenreimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getgenres.cpp b/core/src/loader/http/getgenres.cpp index e69de29..daedbab 100644 --- a/core/src/loader/http/getgenres.cpp +++ b/core/src/loader/http/getgenres.cpp @@ -0,0 +1,107 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetGenres::GetGenres(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetGenres::path(const GetGenresParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Genres"); +} + +QUrlQuery GetGenres::query(const GetGenresParams ¶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.excludeItemTypesNull()) { + result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); + } + if (!params.includeItemTypesNull()) { + result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); + } + if (!params.isFavoriteNull()) { + result.addQueryItem("isFavorite", Support::toString(params.isFavorite())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString(params.enableImageTypes())); + } + 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/getgroupingoptions.cpp b/core/src/loader/http/getgroupingoptions.cpp index e69de29..3b6a97b 100644 --- a/core/src/loader/http/getgroupingoptions.cpp +++ b/core/src/loader/http/getgroupingoptions.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getguideinfo.cpp b/core/src/loader/http/getguideinfo.cpp index e69de29..0bdb9b4 100644 --- a/core/src/loader/http/getguideinfo.cpp +++ b/core/src/loader/http/getguideinfo.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetGuideInfo::GetGuideInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetGuideInfo::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 GetGuideInfo::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 index e69de29..9a053f0 100644 --- a/core/src/loader/http/gethlsaudiosegment.cpp +++ b/core/src/loader/http/gethlsaudiosegment.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..95f41d2 100644 --- a/core/src/loader/http/gethlsaudiosegmentlegacyaac.cpp +++ b/core/src/loader/http/gethlsaudiosegmentlegacyaac.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..36b7b5a 100644 --- a/core/src/loader/http/gethlsaudiosegmentlegacymp3.cpp +++ b/core/src/loader/http/gethlsaudiosegmentlegacymp3.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..8df9348 100644 --- a/core/src/loader/http/gethlsplaylistlegacy.cpp +++ b/core/src/loader/http/gethlsplaylistlegacy.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..5f94fec 100644 --- a/core/src/loader/http/gethlsvideosegment.cpp +++ b/core/src/loader/http/gethlsvideosegment.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..ab787bd 100644 --- a/core/src/loader/http/gethlsvideosegmentlegacy.cpp +++ b/core/src/loader/http/gethlsvideosegmentlegacy.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f542157 100644 --- a/core/src/loader/http/geticon.cpp +++ b/core/src/loader/http/geticon.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..eadb7af 100644 --- a/core/src/loader/http/geticonid.cpp +++ b/core/src/loader/http/geticonid.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..7ec8ac9 100644 --- a/core/src/loader/http/getinstantmixfromalbum.cpp +++ b/core/src/loader/http/getinstantmixfromalbum.cpp @@ -0,0 +1,80 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetInstantMixFromAlbum::GetInstantMixFromAlbum(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromAlbum::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(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromAlbum::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 index e69de29..32eb3c9 100644 --- a/core/src/loader/http/getinstantmixfromartists.cpp +++ b/core/src/loader/http/getinstantmixfromartists.cpp @@ -0,0 +1,80 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetInstantMixFromArtists::GetInstantMixFromArtists(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromArtists::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(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromArtists::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 index e69de29..bf762ba 100644 --- a/core/src/loader/http/getinstantmixfromitem.cpp +++ b/core/src/loader/http/getinstantmixfromitem.cpp @@ -0,0 +1,80 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetInstantMixFromItem::GetInstantMixFromItem(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromItem::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(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromItem::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 index e69de29..8189da9 100644 --- a/core/src/loader/http/getinstantmixfrommusicgenre.cpp +++ b/core/src/loader/http/getinstantmixfrommusicgenre.cpp @@ -0,0 +1,80 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetInstantMixFromMusicGenre::GetInstantMixFromMusicGenre(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromMusicGenre::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(params.name()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromMusicGenre::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 index e69de29..a3e3836 100644 --- a/core/src/loader/http/getinstantmixfrommusicgenres.cpp +++ b/core/src/loader/http/getinstantmixfrommusicgenres.cpp @@ -0,0 +1,80 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetInstantMixFromMusicGenres::GetInstantMixFromMusicGenres(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromMusicGenres::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(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromMusicGenres::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 index e69de29..0af2c7d 100644 --- a/core/src/loader/http/getinstantmixfromplaylist.cpp +++ b/core/src/loader/http/getinstantmixfromplaylist.cpp @@ -0,0 +1,80 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetInstantMixFromPlaylist::GetInstantMixFromPlaylist(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromPlaylist::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(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromPlaylist::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 index e69de29..1bc9c4b 100644 --- a/core/src/loader/http/getinstantmixfromsong.cpp +++ b/core/src/loader/http/getinstantmixfromsong.cpp @@ -0,0 +1,80 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetInstantMixFromSong::GetInstantMixFromSong(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetInstantMixFromSong::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(params.jellyfinId()) + QStringLiteral("/InstantMix"); +} + +QUrlQuery GetInstantMixFromSong::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 index e69de29..ea60d15 100644 --- a/core/src/loader/http/getintros.cpp +++ b/core/src/loader/http/getintros.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetIntros::GetIntros(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetIntros::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(params.userId()) + QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/Intros"); +} + +QUrlQuery GetIntros::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 index e69de29..56ecc30 100644 --- a/core/src/loader/http/getitem.cpp +++ b/core/src/loader/http/getitem.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetItem::GetItem(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetItem::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(params.userId()) + QStringLiteral("/Items/") + Support::toString(params.itemId()) ; +} + +QUrlQuery GetItem::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 index e69de29..39b26e7 100644 --- a/core/src/loader/http/getitemcounts.cpp +++ b/core/src/loader/http/getitemcounts.cpp @@ -0,0 +1,65 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetItemCounts::GetItemCounts(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetItemCounts::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 GetItemCounts::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 index e69de29..75c87ff 100644 --- a/core/src/loader/http/getitemimage.cpp +++ b/core/src/loader/http/getitemimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..8b3899c 100644 --- a/core/src/loader/http/getitemimage2.cpp +++ b/core/src/loader/http/getitemimage2.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..2bb13cf 100644 --- a/core/src/loader/http/getitemimagebyindex.cpp +++ b/core/src/loader/http/getitemimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getitemimageinfos.cpp b/core/src/loader/http/getitemimageinfos.cpp index e69de29..46c4696 100644 --- a/core/src/loader/http/getitemimageinfos.cpp +++ b/core/src/loader/http/getitemimageinfos.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..bdf0dbb 100644 --- a/core/src/loader/http/getitems.cpp +++ b/core/src/loader/http/getitems.cpp @@ -0,0 +1,299 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetItems::GetItems(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetItems::path(const GetItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items"); +} + +QUrlQuery GetItems::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 index e69de29..f3f9ae6 100644 --- a/core/src/loader/http/getitemsbyuserid.cpp +++ b/core/src/loader/http/getitemsbyuserid.cpp @@ -0,0 +1,296 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetItemsByUserId::GetItemsByUserId(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetItemsByUserId::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(params.userId()) + QStringLiteral("/Items"); +} + +QUrlQuery GetItemsByUserId::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/getkeys.cpp b/core/src/loader/http/getkeys.cpp index e69de29..2599d0a 100644 --- a/core/src/loader/http/getkeys.cpp +++ b/core/src/loader/http/getkeys.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetKeys::GetKeys(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetKeys::path(const GetKeysParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Auth/Keys"); +} + +QUrlQuery GetKeys::query(const GetKeysParams ¶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/getlatestchannelitems.cpp b/core/src/loader/http/getlatestchannelitems.cpp index e69de29..44b687b 100644 --- a/core/src/loader/http/getlatestchannelitems.cpp +++ b/core/src/loader/http/getlatestchannelitems.cpp @@ -0,0 +1,77 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetLatestChannelItems::GetLatestChannelItems(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLatestChannelItems::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 GetLatestChannelItems::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 index e69de29..2992b0c 100644 --- a/core/src/loader/http/getlatestmedia.cpp +++ b/core/src/loader/http/getlatestmedia.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getlibraryoptionsinfo.cpp b/core/src/loader/http/getlibraryoptionsinfo.cpp index e69de29..64abb3b 100644 --- a/core/src/loader/http/getlibraryoptionsinfo.cpp +++ b/core/src/loader/http/getlibraryoptionsinfo.cpp @@ -0,0 +1,65 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetLibraryOptionsInfo::GetLibraryOptionsInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLibraryOptionsInfo::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 GetLibraryOptionsInfo::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 index e69de29..b88f373 100644 --- a/core/src/loader/http/getlineups.cpp +++ b/core/src/loader/http/getlineups.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getlivehlsstream.cpp b/core/src/loader/http/getlivehlsstream.cpp index e69de29..95cab59 100644 --- a/core/src/loader/http/getlivehlsstream.cpp +++ b/core/src/loader/http/getlivehlsstream.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..5301df0 100644 --- a/core/src/loader/http/getliverecordingfile.cpp +++ b/core/src/loader/http/getliverecordingfile.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..0528a89 100644 --- a/core/src/loader/http/getlivestreamfile.cpp +++ b/core/src/loader/http/getlivestreamfile.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..234d4d8 100644 --- a/core/src/loader/http/getlivetvchannels.cpp +++ b/core/src/loader/http/getlivetvchannels.cpp @@ -0,0 +1,122 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetLiveTvChannels::GetLiveTvChannels(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLiveTvChannels::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 GetLiveTvChannels::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 index e69de29..c154baf 100644 --- a/core/src/loader/http/getlivetvinfo.cpp +++ b/core/src/loader/http/getlivetvinfo.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetLiveTvInfo::GetLiveTvInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLiveTvInfo::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 GetLiveTvInfo::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 index e69de29..6c2e9d5 100644 --- a/core/src/loader/http/getlivetvprograms.cpp +++ b/core/src/loader/http/getlivetvprograms.cpp @@ -0,0 +1,140 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetLiveTvPrograms::GetLiveTvPrograms(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLiveTvPrograms::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 GetLiveTvPrograms::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/getlocalizationoptions.cpp b/core/src/loader/http/getlocalizationoptions.cpp index e69de29..40444dd 100644 --- a/core/src/loader/http/getlocalizationoptions.cpp +++ b/core/src/loader/http/getlocalizationoptions.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getlocaltrailers.cpp b/core/src/loader/http/getlocaltrailers.cpp index e69de29..a24f715 100644 --- a/core/src/loader/http/getlocaltrailers.cpp +++ b/core/src/loader/http/getlocaltrailers.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getlogentries.cpp index e69de29..1e74510 100644 --- a/core/src/loader/http/getlogentries.cpp +++ b/core/src/loader/http/getlogentries.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetLogEntries::GetLogEntries(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetLogEntries::path(const GetLogEntriesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/System/ActivityLog/Entries"); +} + +QUrlQuery GetLogEntries::query(const GetLogEntriesParams ¶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.minDateNull()) { + result.addQueryItem("minDate", Support::toString(params.minDate())); + } + if (!params.hasUserIdNull()) { + result.addQueryItem("hasUserId", Support::toString(params.hasUserId())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getlogfile.cpp b/core/src/loader/http/getlogfile.cpp index e69de29..d157fc5 100644 --- a/core/src/loader/http/getlogfile.cpp +++ b/core/src/loader/http/getlogfile.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..830f6d1 100644 --- a/core/src/loader/http/getmasterhlsaudioplaylist.cpp +++ b/core/src/loader/http/getmasterhlsaudioplaylist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..69b3778 100644 --- a/core/src/loader/http/getmasterhlsvideoplaylist.cpp +++ b/core/src/loader/http/getmasterhlsvideoplaylist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d612831 100644 --- a/core/src/loader/http/getmediafolders.cpp +++ b/core/src/loader/http/getmediafolders.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetMediaFolders::GetMediaFolders(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetMediaFolders::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 GetMediaFolders::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 index e69de29..cc7485c 100644 --- a/core/src/loader/http/getmediainfoimage.cpp +++ b/core/src/loader/http/getmediainfoimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getmediainfoimages.cpp b/core/src/loader/http/getmediainfoimages.cpp index e69de29..bced63d 100644 --- a/core/src/loader/http/getmediainfoimages.cpp +++ b/core/src/loader/http/getmediainfoimages.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..e36ab23 100644 --- a/core/src/loader/http/getmediareceiverregistrar.cpp +++ b/core/src/loader/http/getmediareceiverregistrar.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..e6676a6 100644 --- a/core/src/loader/http/getmediareceiverregistrar_2.cpp +++ b/core/src/loader/http/getmediareceiverregistrar_2.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..7970321 100644 --- a/core/src/loader/http/getmediareceiverregistrar_3.cpp +++ b/core/src/loader/http/getmediareceiverregistrar_3.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getmetadataeditorinfo.cpp b/core/src/loader/http/getmetadataeditorinfo.cpp index e69de29..3995d59 100644 --- a/core/src/loader/http/getmetadataeditorinfo.cpp +++ b/core/src/loader/http/getmetadataeditorinfo.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetMetadataEditorInfo::GetMetadataEditorInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetMetadataEditorInfo::path(const GetMetadataEditorInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/MetadataEditor"); +} + +QUrlQuery GetMetadataEditorInfo::query(const GetMetadataEditorInfoParams ¶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/getmovierecommendations.cpp b/core/src/loader/http/getmovierecommendations.cpp index e69de29..4f7571e 100644 --- a/core/src/loader/http/getmovierecommendations.cpp +++ b/core/src/loader/http/getmovierecommendations.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..46623f9 100644 --- a/core/src/loader/http/getmovieremotesearchresults.cpp +++ b/core/src/loader/http/getmovieremotesearchresults.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getmusicalbumremotesearchresults.cpp b/core/src/loader/http/getmusicalbumremotesearchresults.cpp index e69de29..ca1fe01 100644 --- a/core/src/loader/http/getmusicalbumremotesearchresults.cpp +++ b/core/src/loader/http/getmusicalbumremotesearchresults.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getmusicartistremotesearchresults.cpp b/core/src/loader/http/getmusicartistremotesearchresults.cpp index e69de29..162f4d1 100644 --- a/core/src/loader/http/getmusicartistremotesearchresults.cpp +++ b/core/src/loader/http/getmusicartistremotesearchresults.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getmusicgenre.cpp b/core/src/loader/http/getmusicgenre.cpp index e69de29..8ef7b1e 100644 --- a/core/src/loader/http/getmusicgenre.cpp +++ b/core/src/loader/http/getmusicgenre.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetMusicGenre::GetMusicGenre(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetMusicGenre::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(params.genreName()) ; +} + +QUrlQuery GetMusicGenre::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 index e69de29..d4295d5 100644 --- a/core/src/loader/http/getmusicgenreimage.cpp +++ b/core/src/loader/http/getmusicgenreimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..38a4f5f 100644 --- a/core/src/loader/http/getmusicgenreimagebyindex.cpp +++ b/core/src/loader/http/getmusicgenreimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getmusicgenres.cpp b/core/src/loader/http/getmusicgenres.cpp index e69de29..5416c85 100644 --- a/core/src/loader/http/getmusicgenres.cpp +++ b/core/src/loader/http/getmusicgenres.cpp @@ -0,0 +1,107 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetMusicGenres::GetMusicGenres(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetMusicGenres::path(const GetMusicGenresParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/MusicGenres"); +} + +QUrlQuery GetMusicGenres::query(const GetMusicGenresParams ¶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.excludeItemTypesNull()) { + result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); + } + if (!params.includeItemTypesNull()) { + result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); + } + if (!params.isFavoriteNull()) { + result.addQueryItem("isFavorite", Support::toString(params.isFavorite())); + } + if (!params.imageTypeLimitNull()) { + result.addQueryItem("imageTypeLimit", Support::toString(params.imageTypeLimit())); + } + if (!params.enableImageTypesNull()) { + result.addQueryItem("enableImageTypes", Support::toString(params.enableImageTypes())); + } + 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/getmusicvideoremotesearchresults.cpp b/core/src/loader/http/getmusicvideoremotesearchresults.cpp index e69de29..a62c34d 100644 --- a/core/src/loader/http/getmusicvideoremotesearchresults.cpp +++ b/core/src/loader/http/getmusicvideoremotesearchresults.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getnamedconfiguration.cpp b/core/src/loader/http/getnamedconfiguration.cpp index e69de29..b925d6a 100644 --- a/core/src/loader/http/getnamedconfiguration.cpp +++ b/core/src/loader/http/getnamedconfiguration.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getnetworkshares.cpp b/core/src/loader/http/getnetworkshares.cpp index e69de29..36b77d4 100644 --- a/core/src/loader/http/getnetworkshares.cpp +++ b/core/src/loader/http/getnetworkshares.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getnextup.cpp b/core/src/loader/http/getnextup.cpp index e69de29..fba97db 100644 --- a/core/src/loader/http/getnextup.cpp +++ b/core/src/loader/http/getnextup.cpp @@ -0,0 +1,95 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetNextUp::GetNextUp(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetNextUp::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 GetNextUp::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 index e69de29..54b6e56 100644 --- a/core/src/loader/http/getnotifications.cpp +++ b/core/src/loader/http/getnotifications.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetNotifications::GetNotifications(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetNotifications::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(params.userId()) ; +} + +QUrlQuery GetNotifications::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 index e69de29..245b213 100644 --- a/core/src/loader/http/getnotificationservices.cpp +++ b/core/src/loader/http/getnotificationservices.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getnotificationssummary.cpp b/core/src/loader/http/getnotificationssummary.cpp index e69de29..fe9930a 100644 --- a/core/src/loader/http/getnotificationssummary.cpp +++ b/core/src/loader/http/getnotificationssummary.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetNotificationsSummary::GetNotificationsSummary(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetNotificationsSummary::path(const GetNotificationsSummaryParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Notifications/") + Support::toString(params.userId()) + QStringLiteral("/Summary"); +} + +QUrlQuery GetNotificationsSummary::query(const GetNotificationsSummaryParams ¶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 index e69de29..3474a09 100644 --- a/core/src/loader/http/getnotificationtypes.cpp +++ b/core/src/loader/http/getnotificationtypes.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getpackageinfo.cpp b/core/src/loader/http/getpackageinfo.cpp index e69de29..315e4a7 100644 --- a/core/src/loader/http/getpackageinfo.cpp +++ b/core/src/loader/http/getpackageinfo.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetPackageInfo::GetPackageInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPackageInfo::path(const GetPackageInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Packages/") + Support::toString(params.name()) ; +} + +QUrlQuery GetPackageInfo::query(const GetPackageInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.assemblyGuidNull()) { + result.addQueryItem("assemblyGuid", Support::toString(params.assemblyGuid())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getpackages.cpp b/core/src/loader/http/getpackages.cpp index e69de29..0360698 100644 --- a/core/src/loader/http/getpackages.cpp +++ b/core/src/loader/http/getpackages.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getparentalratings.cpp b/core/src/loader/http/getparentalratings.cpp index e69de29..24509ce 100644 --- a/core/src/loader/http/getparentalratings.cpp +++ b/core/src/loader/http/getparentalratings.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getparentpath.cpp b/core/src/loader/http/getparentpath.cpp index e69de29..08cc4a2 100644 --- a/core/src/loader/http/getparentpath.cpp +++ b/core/src/loader/http/getparentpath.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getpasswordresetproviders.cpp b/core/src/loader/http/getpasswordresetproviders.cpp index e69de29..9c9e953 100644 --- a/core/src/loader/http/getpasswordresetproviders.cpp +++ b/core/src/loader/http/getpasswordresetproviders.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getperson.cpp b/core/src/loader/http/getperson.cpp index e69de29..cbe4270 100644 --- a/core/src/loader/http/getperson.cpp +++ b/core/src/loader/http/getperson.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetPerson::GetPerson(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPerson::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(params.name()) ; +} + +QUrlQuery GetPerson::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 index e69de29..3ae908c 100644 --- a/core/src/loader/http/getpersonimage.cpp +++ b/core/src/loader/http/getpersonimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..c8a7a16 100644 --- a/core/src/loader/http/getpersonimagebyindex.cpp +++ b/core/src/loader/http/getpersonimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..c10c000 100644 --- a/core/src/loader/http/getpersonremotesearchresults.cpp +++ b/core/src/loader/http/getpersonremotesearchresults.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getpersons.cpp b/core/src/loader/http/getpersons.cpp index e69de29..e78df1c 100644 --- a/core/src/loader/http/getpersons.cpp +++ b/core/src/loader/http/getpersons.cpp @@ -0,0 +1,98 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetPersons::GetPersons(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPersons::path(const GetPersonsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Persons"); +} + +QUrlQuery GetPersons::query(const GetPersonsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString(params.limit())); + } + if (!params.searchTermNull()) { + result.addQueryItem("searchTerm", Support::toString(params.searchTerm())); + } + if (!params.fieldsNull()) { + result.addQueryItem("fields", Support::toString(params.fields())); + } + if (!params.filtersNull()) { + result.addQueryItem("filters", Support::toString(params.filters())); + } + if (!params.isFavoriteNull()) { + result.addQueryItem("isFavorite", Support::toString(params.isFavorite())); + } + 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.excludePersonTypesNull()) { + result.addQueryItem("excludePersonTypes", Support::toString(params.excludePersonTypes())); + } + if (!params.personTypesNull()) { + result.addQueryItem("personTypes", Support::toString(params.personTypes())); + } + if (!params.appearsInItemIdNull()) { + result.addQueryItem("appearsInItemId", Support::toString(params.appearsInItemId())); + } + if (!params.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + 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/getphysicalpaths.cpp b/core/src/loader/http/getphysicalpaths.cpp index e69de29..0812d45 100644 --- a/core/src/loader/http/getphysicalpaths.cpp +++ b/core/src/loader/http/getphysicalpaths.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getpingsystem.cpp b/core/src/loader/http/getpingsystem.cpp index e69de29..e772276 100644 --- a/core/src/loader/http/getpingsystem.cpp +++ b/core/src/loader/http/getpingsystem.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getplaybackinfo.cpp b/core/src/loader/http/getplaybackinfo.cpp index e69de29..9ea48cc 100644 --- a/core/src/loader/http/getplaybackinfo.cpp +++ b/core/src/loader/http/getplaybackinfo.cpp @@ -0,0 +1,60 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetPlaybackInfo::GetPlaybackInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPlaybackInfo::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(params.itemId()) + QStringLiteral("/PlaybackInfo"); +} + +QUrlQuery GetPlaybackInfo::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", params.userId()); + + // Optional parameters + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getplaylistitems.cpp b/core/src/loader/http/getplaylistitems.cpp index e69de29..ce55f3d 100644 --- a/core/src/loader/http/getplaylistitems.cpp +++ b/core/src/loader/http/getplaylistitems.cpp @@ -0,0 +1,81 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetPlaylistItems::GetPlaylistItems(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPlaylistItems::path(const GetPlaylistItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Playlists/") + Support::toString(params.playlistId()) + QStringLiteral("/Items"); +} + +QUrlQuery GetPlaylistItems::query(const GetPlaylistItemsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + result.addQueryItem("userId", params.userId()); + + // Optional parameters + 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.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/getpluginconfiguration.cpp b/core/src/loader/http/getpluginconfiguration.cpp index e69de29..2864001 100644 --- a/core/src/loader/http/getpluginconfiguration.cpp +++ b/core/src/loader/http/getpluginconfiguration.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetPluginConfiguration::GetPluginConfiguration(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPluginConfiguration::path(const GetPluginConfigurationParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Plugins/") + Support::toString(params.pluginId()) + QStringLiteral("/Configuration"); +} + +QUrlQuery GetPluginConfiguration::query(const GetPluginConfigurationParams ¶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/getpluginimage.cpp b/core/src/loader/http/getpluginimage.cpp index e69de29..e250221 100644 --- a/core/src/loader/http/getpluginimage.cpp +++ b/core/src/loader/http/getpluginimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..37972f7 100644 --- a/core/src/loader/http/getpluginmanifest.cpp +++ b/core/src/loader/http/getpluginmanifest.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..cf7c0d4 100644 --- a/core/src/loader/http/getplugins.cpp +++ b/core/src/loader/http/getplugins.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getpostedplaybackinfo.cpp b/core/src/loader/http/getpostedplaybackinfo.cpp index e69de29..4be4e24 100644 --- a/core/src/loader/http/getpostedplaybackinfo.cpp +++ b/core/src/loader/http/getpostedplaybackinfo.cpp @@ -0,0 +1,101 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetPostedPlaybackInfo::GetPostedPlaybackInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPostedPlaybackInfo::path(const GetPostedPlaybackInfoParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/PlaybackInfo"); +} + +QUrlQuery GetPostedPlaybackInfo::query(const GetPostedPlaybackInfoParams ¶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.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.mediaSourceIdNull()) { + result.addQueryItem("mediaSourceId", Support::toString(params.mediaSourceId())); + } + if (!params.liveStreamIdNull()) { + result.addQueryItem("liveStreamId", Support::toString(params.liveStreamId())); + } + if (!params.autoOpenLiveStreamNull()) { + result.addQueryItem("autoOpenLiveStream", Support::toString(params.autoOpenLiveStream())); + } + if (!params.enableDirectPlayNull()) { + result.addQueryItem("enableDirectPlay", Support::toString(params.enableDirectPlay())); + } + if (!params.enableDirectStreamNull()) { + result.addQueryItem("enableDirectStream", Support::toString(params.enableDirectStream())); + } + if (!params.enableTranscodingNull()) { + result.addQueryItem("enableTranscoding", Support::toString(params.enableTranscoding())); + } + if (!params.allowVideoStreamCopyNull()) { + result.addQueryItem("allowVideoStreamCopy", Support::toString(params.allowVideoStreamCopy())); + } + if (!params.allowAudioStreamCopyNull()) { + result.addQueryItem("allowAudioStreamCopy", Support::toString(params.allowAudioStreamCopy())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getprofile.cpp b/core/src/loader/http/getprofile.cpp index e69de29..898e1a8 100644 --- a/core/src/loader/http/getprofile.cpp +++ b/core/src/loader/http/getprofile.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetProfile::GetProfile(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetProfile::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(params.profileId()) ; +} + +QUrlQuery GetProfile::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 index e69de29..1d481cf 100644 --- a/core/src/loader/http/getprofileinfos.cpp +++ b/core/src/loader/http/getprofileinfos.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getprogram.cpp b/core/src/loader/http/getprogram.cpp index e69de29..82db1e8 100644 --- a/core/src/loader/http/getprogram.cpp +++ b/core/src/loader/http/getprogram.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetProgram::GetProgram(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetProgram::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(params.programId()) ; +} + +QUrlQuery GetProgram::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 index e69de29..5475ddf 100644 --- a/core/src/loader/http/getprograms.cpp +++ b/core/src/loader/http/getprograms.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetPrograms::GetPrograms(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPrograms::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 GetPrograms::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 index e69de29..d18603b 100644 --- a/core/src/loader/http/getpublicsysteminfo.cpp +++ b/core/src/loader/http/getpublicsysteminfo.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetPublicSystemInfo::GetPublicSystemInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetPublicSystemInfo::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 GetPublicSystemInfo::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 index e69de29..17cd4ec 100644 --- a/core/src/loader/http/getpublicusers.cpp +++ b/core/src/loader/http/getpublicusers.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getqueryfilters.cpp b/core/src/loader/http/getqueryfilters.cpp index e69de29..06215c0 100644 --- a/core/src/loader/http/getqueryfilters.cpp +++ b/core/src/loader/http/getqueryfilters.cpp @@ -0,0 +1,89 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetQueryFilters::GetQueryFilters(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetQueryFilters::path(const GetQueryFiltersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/Filters2"); +} + +QUrlQuery GetQueryFilters::query(const GetQueryFiltersParams ¶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.isAiringNull()) { + result.addQueryItem("isAiring", Support::toString(params.isAiring())); + } + if (!params.isMovieNull()) { + result.addQueryItem("isMovie", Support::toString(params.isMovie())); + } + if (!params.isSportsNull()) { + result.addQueryItem("isSports", Support::toString(params.isSports())); + } + if (!params.isKidsNull()) { + result.addQueryItem("isKids", Support::toString(params.isKids())); + } + if (!params.isNewsNull()) { + result.addQueryItem("isNews", Support::toString(params.isNews())); + } + if (!params.isSeriesNull()) { + result.addQueryItem("isSeries", Support::toString(params.isSeries())); + } + if (!params.recursiveNull()) { + result.addQueryItem("recursive", Support::toString(params.recursive())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getqueryfilterslegacy.cpp b/core/src/loader/http/getqueryfilterslegacy.cpp index e69de29..f3e6f2b 100644 --- a/core/src/loader/http/getqueryfilterslegacy.cpp +++ b/core/src/loader/http/getqueryfilterslegacy.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetQueryFiltersLegacy::GetQueryFiltersLegacy(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetQueryFiltersLegacy::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 GetQueryFiltersLegacy::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 index e69de29..869c30d 100644 --- a/core/src/loader/http/getratingimage.cpp +++ b/core/src/loader/http/getratingimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..fddc022 100644 --- a/core/src/loader/http/getratingimages.cpp +++ b/core/src/loader/http/getratingimages.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getrecommendedprograms.cpp b/core/src/loader/http/getrecommendedprograms.cpp index e69de29..74a312f 100644 --- a/core/src/loader/http/getrecommendedprograms.cpp +++ b/core/src/loader/http/getrecommendedprograms.cpp @@ -0,0 +1,107 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetRecommendedPrograms::GetRecommendedPrograms(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecommendedPrograms::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 GetRecommendedPrograms::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 index e69de29..b0706e3 100644 --- a/core/src/loader/http/getrecording.cpp +++ b/core/src/loader/http/getrecording.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetRecording::GetRecording(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecording::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(params.recordingId()) ; +} + +QUrlQuery GetRecording::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 index e69de29..771fe8b 100644 --- a/core/src/loader/http/getrecordingfolders.cpp +++ b/core/src/loader/http/getrecordingfolders.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetRecordingFolders::GetRecordingFolders(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecordingFolders::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 GetRecordingFolders::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 index e69de29..d6e2de4 100644 --- a/core/src/loader/http/getrecordinggroup.cpp +++ b/core/src/loader/http/getrecordinggroup.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d44ffb2 100644 --- a/core/src/loader/http/getrecordinggroups.cpp +++ b/core/src/loader/http/getrecordinggroups.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetRecordingGroups::GetRecordingGroups(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecordingGroups::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 GetRecordingGroups::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 index e69de29..91378fe 100644 --- a/core/src/loader/http/getrecordings.cpp +++ b/core/src/loader/http/getrecordings.cpp @@ -0,0 +1,116 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetRecordings::GetRecordings(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecordings::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 GetRecordings::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 index e69de29..2418553 100644 --- a/core/src/loader/http/getrecordingsseries.cpp +++ b/core/src/loader/http/getrecordingsseries.cpp @@ -0,0 +1,101 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetRecordingsSeries::GetRecordingsSeries(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRecordingsSeries::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 GetRecordingsSeries::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 index e69de29..74d06be 100644 --- a/core/src/loader/http/getremoteimage.cpp +++ b/core/src/loader/http/getremoteimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..ee5ad1b 100644 --- a/core/src/loader/http/getremoteimageproviders.cpp +++ b/core/src/loader/http/getremoteimageproviders.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getremoteimages.cpp index e69de29..82d5069 100644 --- a/core/src/loader/http/getremoteimages.cpp +++ b/core/src/loader/http/getremoteimages.cpp @@ -0,0 +1,74 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetRemoteImages::GetRemoteImages(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRemoteImages::path(const GetRemoteImagesParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/RemoteImages"); +} + +QUrlQuery GetRemoteImages::query(const GetRemoteImagesParams ¶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.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString(params.limit())); + } + if (!params.providerNameNull()) { + result.addQueryItem("providerName", Support::toString(params.providerName())); + } + if (!params.includeAllLanguagesNull()) { + result.addQueryItem("includeAllLanguages", Support::toString(params.includeAllLanguages())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getremotesearchimage.cpp b/core/src/loader/http/getremotesearchimage.cpp index e69de29..58c401f 100644 --- a/core/src/loader/http/getremotesearchimage.cpp +++ b/core/src/loader/http/getremotesearchimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..8ee0ec8 100644 --- a/core/src/loader/http/getremotesubtitles.cpp +++ b/core/src/loader/http/getremotesubtitles.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..b8a0274 100644 --- a/core/src/loader/http/getrepositories.cpp +++ b/core/src/loader/http/getrepositories.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getresumeitems.cpp b/core/src/loader/http/getresumeitems.cpp index e69de29..29c374f 100644 --- a/core/src/loader/http/getresumeitems.cpp +++ b/core/src/loader/http/getresumeitems.cpp @@ -0,0 +1,98 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetResumeItems::GetResumeItems(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetResumeItems::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(params.userId()) + QStringLiteral("/Items/Resume"); +} + +QUrlQuery GetResumeItems::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 index e69de29..e519c11 100644 --- a/core/src/loader/http/getrootfolder.cpp +++ b/core/src/loader/http/getrootfolder.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetRootFolder::GetRootFolder(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetRootFolder::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(params.userId()) + QStringLiteral("/Items/Root"); +} + +QUrlQuery GetRootFolder::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 index e69de29..2807d3b 100644 --- a/core/src/loader/http/getschedulesdirectcountries.cpp +++ b/core/src/loader/http/getschedulesdirectcountries.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getseasons.cpp b/core/src/loader/http/getseasons.cpp index e69de29..7af1476 100644 --- a/core/src/loader/http/getseasons.cpp +++ b/core/src/loader/http/getseasons.cpp @@ -0,0 +1,86 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSeasons::GetSeasons(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSeasons::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(params.seriesId()) + QStringLiteral("/Seasons"); +} + +QUrlQuery GetSeasons::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 index e69de29..d0bbf93 100644 --- a/core/src/loader/http/getseriesremotesearchresults.cpp +++ b/core/src/loader/http/getseriesremotesearchresults.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getseriestimer.cpp b/core/src/loader/http/getseriestimer.cpp index e69de29..c7ee42a 100644 --- a/core/src/loader/http/getseriestimer.cpp +++ b/core/src/loader/http/getseriestimer.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSeriesTimer::GetSeriesTimer(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSeriesTimer::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(params.timerId()) ; +} + +QUrlQuery GetSeriesTimer::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 index e69de29..d60c470 100644 --- a/core/src/loader/http/getseriestimers.cpp +++ b/core/src/loader/http/getseriestimers.cpp @@ -0,0 +1,65 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSeriesTimers::GetSeriesTimers(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSeriesTimers::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 GetSeriesTimers::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 index e69de29..3f38f29 100644 --- a/core/src/loader/http/getserverlogs.cpp +++ b/core/src/loader/http/getserverlogs.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getsessions.cpp index e69de29..9d24099 100644 --- a/core/src/loader/http/getsessions.cpp +++ b/core/src/loader/http/getsessions.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getsimilaralbums.cpp b/core/src/loader/http/getsimilaralbums.cpp index e69de29..a0be85d 100644 --- a/core/src/loader/http/getsimilaralbums.cpp +++ b/core/src/loader/http/getsimilaralbums.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSimilarAlbums::GetSimilarAlbums(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarAlbums::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(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarAlbums::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 index e69de29..2119ade 100644 --- a/core/src/loader/http/getsimilarartists.cpp +++ b/core/src/loader/http/getsimilarartists.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSimilarArtists::GetSimilarArtists(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarArtists::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(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarArtists::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 index e69de29..d693a0d 100644 --- a/core/src/loader/http/getsimilaritems.cpp +++ b/core/src/loader/http/getsimilaritems.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSimilarItems::GetSimilarItems(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarItems::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(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarItems::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 index e69de29..7d4da14 100644 --- a/core/src/loader/http/getsimilarmovies.cpp +++ b/core/src/loader/http/getsimilarmovies.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSimilarMovies::GetSimilarMovies(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarMovies::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(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarMovies::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 index e69de29..bc76e20 100644 --- a/core/src/loader/http/getsimilarshows.cpp +++ b/core/src/loader/http/getsimilarshows.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSimilarShows::GetSimilarShows(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarShows::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(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarShows::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 index e69de29..093985c 100644 --- a/core/src/loader/http/getsimilartrailers.cpp +++ b/core/src/loader/http/getsimilartrailers.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSimilarTrailers::GetSimilarTrailers(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSimilarTrailers::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(params.itemId()) + QStringLiteral("/Similar"); +} + +QUrlQuery GetSimilarTrailers::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 index e69de29..b4ab4b3 100644 --- a/core/src/loader/http/getspecialfeatures.cpp +++ b/core/src/loader/http/getspecialfeatures.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getstartupconfiguration.cpp index e69de29..ffc1b9d 100644 --- a/core/src/loader/http/getstartupconfiguration.cpp +++ b/core/src/loader/http/getstartupconfiguration.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetStartupConfiguration::GetStartupConfiguration(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetStartupConfiguration::path(const GetStartupConfigurationParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Startup/Configuration"); +} + +QUrlQuery GetStartupConfiguration::query(const GetStartupConfigurationParams ¶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 index e69de29..e053234 100644 --- a/core/src/loader/http/getstatus.cpp +++ b/core/src/loader/http/getstatus.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetStatus::GetStatus(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetStatus::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 GetStatus::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 index e69de29..05621a1 100644 --- a/core/src/loader/http/getstudio.cpp +++ b/core/src/loader/http/getstudio.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetStudio::GetStudio(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetStudio::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(params.name()) ; +} + +QUrlQuery GetStudio::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 index e69de29..0560b34 100644 --- a/core/src/loader/http/getstudioimage.cpp +++ b/core/src/loader/http/getstudioimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..c5c84e1 100644 --- a/core/src/loader/http/getstudioimagebyindex.cpp +++ b/core/src/loader/http/getstudioimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getstudios.cpp index e69de29..284eb67 100644 --- a/core/src/loader/http/getstudios.cpp +++ b/core/src/loader/http/getstudios.cpp @@ -0,0 +1,110 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetStudios::GetStudios(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetStudios::path(const GetStudiosParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Studios"); +} + +QUrlQuery GetStudios::query(const GetStudiosParams ¶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.excludeItemTypesNull()) { + result.addQueryItem("excludeItemTypes", Support::toString(params.excludeItemTypes())); + } + if (!params.includeItemTypesNull()) { + result.addQueryItem("includeItemTypes", Support::toString(params.includeItemTypes())); + } + if (!params.isFavoriteNull()) { + result.addQueryItem("isFavorite", Support::toString(params.isFavorite())); + } + 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.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/getsubtitle.cpp b/core/src/loader/http/getsubtitle.cpp index e69de29..356bc39 100644 --- a/core/src/loader/http/getsubtitle.cpp +++ b/core/src/loader/http/getsubtitle.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..2e68ba2 100644 --- a/core/src/loader/http/getsubtitleplaylist.cpp +++ b/core/src/loader/http/getsubtitleplaylist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..2e63c47 100644 --- a/core/src/loader/http/getsubtitlewithticks.cpp +++ b/core/src/loader/http/getsubtitlewithticks.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getsuggestions.cpp b/core/src/loader/http/getsuggestions.cpp index e69de29..5daa941 100644 --- a/core/src/loader/http/getsuggestions.cpp +++ b/core/src/loader/http/getsuggestions.cpp @@ -0,0 +1,74 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSuggestions::GetSuggestions(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSuggestions::path(const GetSuggestionsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString(params.userId()) + QStringLiteral("/Suggestions"); +} + +QUrlQuery GetSuggestions::query(const GetSuggestionsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.mediaTypeNull()) { + result.addQueryItem("mediaType", Support::toString(params.mediaType())); + } + if (!params.typeNull()) { + result.addQueryItem("type", Support::toString(params.type())); + } + if (!params.startIndexNull()) { + result.addQueryItem("startIndex", Support::toString(params.startIndex())); + } + if (!params.limitNull()) { + result.addQueryItem("limit", Support::toString(params.limit())); + } + 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/getsysteminfo.cpp b/core/src/loader/http/getsysteminfo.cpp index e69de29..acf4675 100644 --- a/core/src/loader/http/getsysteminfo.cpp +++ b/core/src/loader/http/getsysteminfo.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetSystemInfo::GetSystemInfo(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetSystemInfo::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 GetSystemInfo::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 index e69de29..f498bb9 100644 --- a/core/src/loader/http/gettask.cpp +++ b/core/src/loader/http/gettask.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetTask::GetTask(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetTask::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(params.taskId()) ; +} + +QUrlQuery GetTask::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/gettasks.cpp b/core/src/loader/http/gettasks.cpp index e69de29..1e64539 100644 --- a/core/src/loader/http/gettasks.cpp +++ b/core/src/loader/http/gettasks.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getthememedia.cpp b/core/src/loader/http/getthememedia.cpp index e69de29..02428b0 100644 --- a/core/src/loader/http/getthememedia.cpp +++ b/core/src/loader/http/getthememedia.cpp @@ -0,0 +1,65 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetThemeMedia::GetThemeMedia(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetThemeMedia::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(params.itemId()) + QStringLiteral("/ThemeMedia"); +} + +QUrlQuery GetThemeMedia::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 index e69de29..7095beb 100644 --- a/core/src/loader/http/getthemesongs.cpp +++ b/core/src/loader/http/getthemesongs.cpp @@ -0,0 +1,65 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetThemeSongs::GetThemeSongs(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetThemeSongs::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(params.itemId()) + QStringLiteral("/ThemeSongs"); +} + +QUrlQuery GetThemeSongs::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 index e69de29..e83d8e2 100644 --- a/core/src/loader/http/getthemevideos.cpp +++ b/core/src/loader/http/getthemevideos.cpp @@ -0,0 +1,65 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetThemeVideos::GetThemeVideos(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetThemeVideos::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(params.itemId()) + QStringLiteral("/ThemeVideos"); +} + +QUrlQuery GetThemeVideos::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 index e69de29..9876379 100644 --- a/core/src/loader/http/gettimer.cpp +++ b/core/src/loader/http/gettimer.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetTimer::GetTimer(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetTimer::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(params.timerId()) ; +} + +QUrlQuery GetTimer::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 index e69de29..e477ad6 100644 --- a/core/src/loader/http/gettimers.cpp +++ b/core/src/loader/http/gettimers.cpp @@ -0,0 +1,71 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetTimers::GetTimers(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetTimers::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 GetTimers::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 index e69de29..41b4ecc 100644 --- a/core/src/loader/http/gettrailerremotesearchresults.cpp +++ b/core/src/loader/http/gettrailerremotesearchresults.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/gettrailers.cpp b/core/src/loader/http/gettrailers.cpp index e69de29..8047574 100644 --- a/core/src/loader/http/gettrailers.cpp +++ b/core/src/loader/http/gettrailers.cpp @@ -0,0 +1,296 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetTrailers::GetTrailers(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetTrailers::path(const GetTrailersParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Trailers"); +} + +QUrlQuery GetTrailers::query(const GetTrailersParams ¶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.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/gettunerhosttypes.cpp b/core/src/loader/http/gettunerhosttypes.cpp index e69de29..13bb30d 100644 --- a/core/src/loader/http/gettunerhosttypes.cpp +++ b/core/src/loader/http/gettunerhosttypes.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getuniversalaudiostream.cpp b/core/src/loader/http/getuniversalaudiostream.cpp index e69de29..a8f5ad9 100644 --- a/core/src/loader/http/getuniversalaudiostream.cpp +++ b/core/src/loader/http/getuniversalaudiostream.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..8c749f5 100644 --- a/core/src/loader/http/getupcomingepisodes.cpp +++ b/core/src/loader/http/getupcomingepisodes.cpp @@ -0,0 +1,86 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetUpcomingEpisodes::GetUpcomingEpisodes(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetUpcomingEpisodes::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 GetUpcomingEpisodes::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 index e69de29..89bcf85 100644 --- a/core/src/loader/http/getuserbyid.cpp +++ b/core/src/loader/http/getuserbyid.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetUserById::GetUserById(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetUserById::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(params.userId()) ; +} + +QUrlQuery GetUserById::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 index e69de29..3184ed1 100644 --- a/core/src/loader/http/getuserimage.cpp +++ b/core/src/loader/http/getuserimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..cfc2c5a 100644 --- a/core/src/loader/http/getuserimagebyindex.cpp +++ b/core/src/loader/http/getuserimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..64116a8 100644 --- a/core/src/loader/http/getusers.cpp +++ b/core/src/loader/http/getusers.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getuserviews.cpp b/core/src/loader/http/getuserviews.cpp index e69de29..a842e37 100644 --- a/core/src/loader/http/getuserviews.cpp +++ b/core/src/loader/http/getuserviews.cpp @@ -0,0 +1,68 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetUserViews::GetUserViews(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetUserViews::path(const GetUserViewsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString(params.userId()) + QStringLiteral("/Views"); +} + +QUrlQuery GetUserViews::query(const GetUserViewsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.includeExternalContentNull()) { + result.addQueryItem("includeExternalContent", Support::toString(params.includeExternalContent())); + } + if (!params.presetViewsNull()) { + result.addQueryItem("presetViews", Support::toString(params.presetViews())); + } + if (!params.includeHiddenNull()) { + result.addQueryItem("includeHidden", Support::toString(params.includeHidden())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/getutctime.cpp b/core/src/loader/http/getutctime.cpp index e69de29..2730de0 100644 --- a/core/src/loader/http/getutctime.cpp +++ b/core/src/loader/http/getutctime.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetUtcTime::GetUtcTime(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetUtcTime::path(const GetUtcTimeParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/GetUtcTime"); +} + +QUrlQuery GetUtcTime::query(const GetUtcTimeParams ¶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/getvarianthlsaudioplaylist.cpp b/core/src/loader/http/getvarianthlsaudioplaylist.cpp index e69de29..223998e 100644 --- a/core/src/loader/http/getvarianthlsaudioplaylist.cpp +++ b/core/src/loader/http/getvarianthlsaudioplaylist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..01fac2a 100644 --- a/core/src/loader/http/getvarianthlsvideoplaylist.cpp +++ b/core/src/loader/http/getvarianthlsvideoplaylist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..dc39368 100644 --- a/core/src/loader/http/getvideostream.cpp +++ b/core/src/loader/http/getvideostream.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..4b65bdc 100644 --- a/core/src/loader/http/getvideostreambycontainer.cpp +++ b/core/src/loader/http/getvideostreambycontainer.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getvirtualfolders.cpp b/core/src/loader/http/getvirtualfolders.cpp index e69de29..4e72cf5 100644 --- a/core/src/loader/http/getvirtualfolders.cpp +++ b/core/src/loader/http/getvirtualfolders.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..69c72d7 100644 --- a/core/src/loader/http/getwakeonlaninfo.cpp +++ b/core/src/loader/http/getwakeonlaninfo.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/getyear.cpp b/core/src/loader/http/getyear.cpp index e69de29..08e3b42 100644 --- a/core/src/loader/http/getyear.cpp +++ b/core/src/loader/http/getyear.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetYear::GetYear(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetYear::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(params.year()) ; +} + +QUrlQuery GetYear::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/getyears.cpp b/core/src/loader/http/getyears.cpp index e69de29..254eb1a 100644 --- a/core/src/loader/http/getyears.cpp +++ b/core/src/loader/http/getyears.cpp @@ -0,0 +1,104 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +GetYears::GetYears(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString GetYears::path(const GetYearsParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Years"); +} + +QUrlQuery GetYears::query(const GetYearsParams ¶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.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.mediaTypesNull()) { + result.addQueryItem("mediaTypes", Support::toString(params.mediaTypes())); + } + if (!params.sortByNull()) { + result.addQueryItem("sortBy", Support::toString(params.sortBy())); + } + 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.userIdNull()) { + result.addQueryItem("userId", Support::toString(params.userId())); + } + if (!params.recursiveNull()) { + result.addQueryItem("recursive", Support::toString(params.recursive())); + } + 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/headartistimage.cpp b/core/src/loader/http/headartistimage.cpp index e69de29..522dd38 100644 --- a/core/src/loader/http/headartistimage.cpp +++ b/core/src/loader/http/headartistimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..790fae7 100644 --- a/core/src/loader/http/headaudiostream.cpp +++ b/core/src/loader/http/headaudiostream.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..1804858 100644 --- a/core/src/loader/http/headaudiostreambycontainer.cpp +++ b/core/src/loader/http/headaudiostreambycontainer.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..2d33c93 100644 --- a/core/src/loader/http/headgenreimage.cpp +++ b/core/src/loader/http/headgenreimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..1e49570 100644 --- a/core/src/loader/http/headgenreimagebyindex.cpp +++ b/core/src/loader/http/headgenreimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..1890fe9 100644 --- a/core/src/loader/http/headitemimage.cpp +++ b/core/src/loader/http/headitemimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..528d3ee 100644 --- a/core/src/loader/http/headitemimage2.cpp +++ b/core/src/loader/http/headitemimage2.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..5e7a6a4 100644 --- a/core/src/loader/http/headitemimagebyindex.cpp +++ b/core/src/loader/http/headitemimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..3e1cd64 100644 --- a/core/src/loader/http/headmasterhlsaudioplaylist.cpp +++ b/core/src/loader/http/headmasterhlsaudioplaylist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..49e2612 100644 --- a/core/src/loader/http/headmasterhlsvideoplaylist.cpp +++ b/core/src/loader/http/headmasterhlsvideoplaylist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..4efce41 100644 --- a/core/src/loader/http/headmusicgenreimage.cpp +++ b/core/src/loader/http/headmusicgenreimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..3630df5 100644 --- a/core/src/loader/http/headmusicgenreimagebyindex.cpp +++ b/core/src/loader/http/headmusicgenreimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..32ff034 100644 --- a/core/src/loader/http/headpersonimage.cpp +++ b/core/src/loader/http/headpersonimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..6687df0 100644 --- a/core/src/loader/http/headpersonimagebyindex.cpp +++ b/core/src/loader/http/headpersonimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..7fac21d 100644 --- a/core/src/loader/http/headstudioimage.cpp +++ b/core/src/loader/http/headstudioimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..0a09fa2 100644 --- a/core/src/loader/http/headstudioimagebyindex.cpp +++ b/core/src/loader/http/headstudioimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..378ad03 100644 --- a/core/src/loader/http/headuniversalaudiostream.cpp +++ b/core/src/loader/http/headuniversalaudiostream.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..625a380 100644 --- a/core/src/loader/http/headuserimage.cpp +++ b/core/src/loader/http/headuserimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..5fe9ef3 100644 --- a/core/src/loader/http/headuserimagebyindex.cpp +++ b/core/src/loader/http/headuserimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..bc809ce 100644 --- a/core/src/loader/http/headvideostream.cpp +++ b/core/src/loader/http/headvideostream.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..e228d3c 100644 --- a/core/src/loader/http/headvideostreambycontainer.cpp +++ b/core/src/loader/http/headvideostreambycontainer.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/initiate.cpp b/core/src/loader/http/initiate.cpp index e69de29..92c0cfb 100644 --- a/core/src/loader/http/initiate.cpp +++ b/core/src/loader/http/initiate.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +Initiate::Initiate(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString Initiate::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 Initiate::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 index e69de29..27487ab 100644 --- a/core/src/loader/http/installpackage.cpp +++ b/core/src/loader/http/installpackage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/markfavoriteitem.cpp b/core/src/loader/http/markfavoriteitem.cpp index e69de29..a743787 100644 --- a/core/src/loader/http/markfavoriteitem.cpp +++ b/core/src/loader/http/markfavoriteitem.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +MarkFavoriteItem::MarkFavoriteItem(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString MarkFavoriteItem::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(params.userId()) + QStringLiteral("/FavoriteItems/") + Support::toString(params.itemId()) ; +} + +QUrlQuery MarkFavoriteItem::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/markplayeditem.cpp b/core/src/loader/http/markplayeditem.cpp index e69de29..f0e8a13 100644 --- a/core/src/loader/http/markplayeditem.cpp +++ b/core/src/loader/http/markplayeditem.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +MarkPlayedItem::MarkPlayedItem(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString MarkPlayedItem::path(const MarkPlayedItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + return QStringLiteral("/Users/") + Support::toString(params.userId()) + QStringLiteral("/PlayedItems/") + Support::toString(params.itemId()) ; +} + +QUrlQuery MarkPlayedItem::query(const MarkPlayedItemParams ¶ms) const { + Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings + + QUrlQuery result; + + // Optional parameters + if (!params.datePlayedNull()) { + result.addQueryItem("datePlayed", Support::toString(params.datePlayed())); + } + + return result; +} + + +} // NS HTTP +} // NS Loader +} // NS Jellyfin diff --git a/core/src/loader/http/markunplayeditem.cpp b/core/src/loader/http/markunplayeditem.cpp index e69de29..ab3e5f2 100644 --- a/core/src/loader/http/markunplayeditem.cpp +++ b/core/src/loader/http/markunplayeditem.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +MarkUnplayedItem::MarkUnplayedItem(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString MarkUnplayedItem::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(params.userId()) + QStringLiteral("/PlayedItems/") + Support::toString(params.itemId()) ; +} + +QUrlQuery MarkUnplayedItem::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/mergeversions.cpp b/core/src/loader/http/mergeversions.cpp index e69de29..672109e 100644 --- a/core/src/loader/http/mergeversions.cpp +++ b/core/src/loader/http/mergeversions.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..dea1f17 100644 --- a/core/src/loader/http/moveitem.cpp +++ b/core/src/loader/http/moveitem.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/onplaybackprogress.cpp b/core/src/loader/http/onplaybackprogress.cpp index e69de29..98de1e6 100644 --- a/core/src/loader/http/onplaybackprogress.cpp +++ b/core/src/loader/http/onplaybackprogress.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..43dad8c 100644 --- a/core/src/loader/http/onplaybackstart.cpp +++ b/core/src/loader/http/onplaybackstart.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f9adebc 100644 --- a/core/src/loader/http/onplaybackstopped.cpp +++ b/core/src/loader/http/onplaybackstopped.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..7489cf1 100644 --- a/core/src/loader/http/openlivestream.cpp +++ b/core/src/loader/http/openlivestream.cpp @@ -0,0 +1,92 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +OpenLiveStream::OpenLiveStream(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString OpenLiveStream::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 OpenLiveStream::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/pingplaybacksession.cpp b/core/src/loader/http/pingplaybacksession.cpp index e69de29..1ba22e5 100644 --- a/core/src/loader/http/pingplaybacksession.cpp +++ b/core/src/loader/http/pingplaybacksession.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..3903d83 100644 --- a/core/src/loader/http/play.cpp +++ b/core/src/loader/http/play.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/post.cpp b/core/src/loader/http/post.cpp index e69de29..b25adb6 100644 --- a/core/src/loader/http/post.cpp +++ b/core/src/loader/http/post.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f1df9fe 100644 --- a/core/src/loader/http/postaddedmovies.cpp +++ b/core/src/loader/http/postaddedmovies.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..2ed0573 100644 --- a/core/src/loader/http/postaddedseries.cpp +++ b/core/src/loader/http/postaddedseries.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f1c0a59 100644 --- a/core/src/loader/http/postcapabilities.cpp +++ b/core/src/loader/http/postcapabilities.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d26fbde 100644 --- a/core/src/loader/http/postfullcapabilities.cpp +++ b/core/src/loader/http/postfullcapabilities.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..14cbf94 100644 --- a/core/src/loader/http/postpingsystem.cpp +++ b/core/src/loader/http/postpingsystem.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/postupdatedmedia.cpp b/core/src/loader/http/postupdatedmedia.cpp index e69de29..0039ce8 100644 --- a/core/src/loader/http/postupdatedmedia.cpp +++ b/core/src/loader/http/postupdatedmedia.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f5f58f5 100644 --- a/core/src/loader/http/postupdatedmovies.cpp +++ b/core/src/loader/http/postupdatedmovies.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..ebba1e5 100644 --- a/core/src/loader/http/postupdatedseries.cpp +++ b/core/src/loader/http/postupdatedseries.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d2dfe4c 100644 --- a/core/src/loader/http/postuserimage.cpp +++ b/core/src/loader/http/postuserimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..5d28a38 100644 --- a/core/src/loader/http/postuserimagebyindex.cpp +++ b/core/src/loader/http/postuserimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..a137b54 100644 --- a/core/src/loader/http/processconnectionmanagercontrolrequest.cpp +++ b/core/src/loader/http/processconnectionmanagercontrolrequest.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..4438d63 100644 --- a/core/src/loader/http/processcontentdirectorycontrolrequest.cpp +++ b/core/src/loader/http/processcontentdirectorycontrolrequest.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..ff8583a 100644 --- a/core/src/loader/http/processmediareceiverregistrarcontrolrequest.cpp +++ b/core/src/loader/http/processmediareceiverregistrarcontrolrequest.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/refreshlibrary.cpp b/core/src/loader/http/refreshlibrary.cpp index e69de29..bb0f4a0 100644 --- a/core/src/loader/http/refreshlibrary.cpp +++ b/core/src/loader/http/refreshlibrary.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/removefromcollection.cpp b/core/src/loader/http/removefromcollection.cpp index e69de29..92b4b9d 100644 --- a/core/src/loader/http/removefromcollection.cpp +++ b/core/src/loader/http/removefromcollection.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..2d29c10 100644 --- a/core/src/loader/http/removefromplaylist.cpp +++ b/core/src/loader/http/removefromplaylist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..0c60693 100644 --- a/core/src/loader/http/removemediapath.cpp +++ b/core/src/loader/http/removemediapath.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..19e9727 100644 --- a/core/src/loader/http/removeuserfromsession.cpp +++ b/core/src/loader/http/removeuserfromsession.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..7ea4660 100644 --- a/core/src/loader/http/removevirtualfolder.cpp +++ b/core/src/loader/http/removevirtualfolder.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9ab7f77 100644 --- a/core/src/loader/http/renamevirtualfolder.cpp +++ b/core/src/loader/http/renamevirtualfolder.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f279b1d 100644 --- a/core/src/loader/http/reportplaybackprogress.cpp +++ b/core/src/loader/http/reportplaybackprogress.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..89ae479 100644 --- a/core/src/loader/http/reportplaybackstart.cpp +++ b/core/src/loader/http/reportplaybackstart.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..4632dfc 100644 --- a/core/src/loader/http/reportplaybackstopped.cpp +++ b/core/src/loader/http/reportplaybackstopped.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..a4434b1 100644 --- a/core/src/loader/http/reportsessionended.cpp +++ b/core/src/loader/http/reportsessionended.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9c91aba 100644 --- a/core/src/loader/http/reportviewing.cpp +++ b/core/src/loader/http/reportviewing.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..0bf5229 100644 --- a/core/src/loader/http/resettuner.cpp +++ b/core/src/loader/http/resettuner.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..52302de 100644 --- a/core/src/loader/http/restartapplication.cpp +++ b/core/src/loader/http/restartapplication.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9202c05 100644 --- a/core/src/loader/http/revokekey.cpp +++ b/core/src/loader/http/revokekey.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/searchremotesubtitles.cpp b/core/src/loader/http/searchremotesubtitles.cpp index e69de29..f85fe78 100644 --- a/core/src/loader/http/searchremotesubtitles.cpp +++ b/core/src/loader/http/searchremotesubtitles.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/sendfullgeneralcommand.cpp b/core/src/loader/http/sendfullgeneralcommand.cpp index e69de29..e0d7439 100644 --- a/core/src/loader/http/sendfullgeneralcommand.cpp +++ b/core/src/loader/http/sendfullgeneralcommand.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..143053a 100644 --- a/core/src/loader/http/sendgeneralcommand.cpp +++ b/core/src/loader/http/sendgeneralcommand.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f22643d 100644 --- a/core/src/loader/http/sendmessagecommand.cpp +++ b/core/src/loader/http/sendmessagecommand.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..8534299 100644 --- a/core/src/loader/http/sendplaystatecommand.cpp +++ b/core/src/loader/http/sendplaystatecommand.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..b733fb6 100644 --- a/core/src/loader/http/sendsystemcommand.cpp +++ b/core/src/loader/http/sendsystemcommand.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/setchannelmapping.cpp b/core/src/loader/http/setchannelmapping.cpp index e69de29..ff8e083 100644 --- a/core/src/loader/http/setchannelmapping.cpp +++ b/core/src/loader/http/setchannelmapping.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +SetChannelMapping::SetChannelMapping(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString SetChannelMapping::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 SetChannelMapping::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 index e69de29..b3fbd00 100644 --- a/core/src/loader/http/setitemimage.cpp +++ b/core/src/loader/http/setitemimage.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9fb1dc7 100644 --- a/core/src/loader/http/setitemimagebyindex.cpp +++ b/core/src/loader/http/setitemimagebyindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..c94efea 100644 --- a/core/src/loader/http/setread.cpp +++ b/core/src/loader/http/setread.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9ddc308 100644 --- a/core/src/loader/http/setremoteaccess.cpp +++ b/core/src/loader/http/setremoteaccess.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..ed52b1f 100644 --- a/core/src/loader/http/setrepositories.cpp +++ b/core/src/loader/http/setrepositories.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f94d7dd 100644 --- a/core/src/loader/http/setunread.cpp +++ b/core/src/loader/http/setunread.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..69f036c 100644 --- a/core/src/loader/http/shutdownapplication.cpp +++ b/core/src/loader/http/shutdownapplication.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..5b049fc 100644 --- a/core/src/loader/http/starttask.cpp +++ b/core/src/loader/http/starttask.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/stopencodingprocess.cpp b/core/src/loader/http/stopencodingprocess.cpp index e69de29..f82bfc6 100644 --- a/core/src/loader/http/stopencodingprocess.cpp +++ b/core/src/loader/http/stopencodingprocess.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..10a2c92 100644 --- a/core/src/loader/http/stoptask.cpp +++ b/core/src/loader/http/stoptask.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/syncplaybuffering.cpp b/core/src/loader/http/syncplaybuffering.cpp index e69de29..c005e41 100644 --- a/core/src/loader/http/syncplaybuffering.cpp +++ b/core/src/loader/http/syncplaybuffering.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..51d786a 100644 --- a/core/src/loader/http/syncplaycreategroup.cpp +++ b/core/src/loader/http/syncplaycreategroup.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/syncplaygetgroups.cpp b/core/src/loader/http/syncplaygetgroups.cpp index e69de29..2ff08b6 100644 --- a/core/src/loader/http/syncplaygetgroups.cpp +++ b/core/src/loader/http/syncplaygetgroups.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..baa0e19 100644 --- a/core/src/loader/http/syncplayjoingroup.cpp +++ b/core/src/loader/http/syncplayjoingroup.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..cc97d94 100644 --- a/core/src/loader/http/syncplayleavegroup.cpp +++ b/core/src/loader/http/syncplayleavegroup.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..73f0aa9 100644 --- a/core/src/loader/http/syncplaymoveplaylistitem.cpp +++ b/core/src/loader/http/syncplaymoveplaylistitem.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..3ed7c9c 100644 --- a/core/src/loader/http/syncplaynextitem.cpp +++ b/core/src/loader/http/syncplaynextitem.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..b1849df 100644 --- a/core/src/loader/http/syncplaypause.cpp +++ b/core/src/loader/http/syncplaypause.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..58ddd9f 100644 --- a/core/src/loader/http/syncplayping.cpp +++ b/core/src/loader/http/syncplayping.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..21ed6c5 100644 --- a/core/src/loader/http/syncplaypreviousitem.cpp +++ b/core/src/loader/http/syncplaypreviousitem.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..b61961a 100644 --- a/core/src/loader/http/syncplayqueue.cpp +++ b/core/src/loader/http/syncplayqueue.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..6fbd652 100644 --- a/core/src/loader/http/syncplayready.cpp +++ b/core/src/loader/http/syncplayready.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..e15aa2a 100644 --- a/core/src/loader/http/syncplayremovefromplaylist.cpp +++ b/core/src/loader/http/syncplayremovefromplaylist.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d1e9966 100644 --- a/core/src/loader/http/syncplayseek.cpp +++ b/core/src/loader/http/syncplayseek.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..82c11a5 100644 --- a/core/src/loader/http/syncplaysetignorewait.cpp +++ b/core/src/loader/http/syncplaysetignorewait.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..40f1d8a 100644 --- a/core/src/loader/http/syncplaysetnewqueue.cpp +++ b/core/src/loader/http/syncplaysetnewqueue.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f7df1e8 100644 --- a/core/src/loader/http/syncplaysetplaylistitem.cpp +++ b/core/src/loader/http/syncplaysetplaylistitem.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..c09082d 100644 --- a/core/src/loader/http/syncplaysetrepeatmode.cpp +++ b/core/src/loader/http/syncplaysetrepeatmode.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d70e283 100644 --- a/core/src/loader/http/syncplaysetshufflemode.cpp +++ b/core/src/loader/http/syncplaysetshufflemode.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f7065b2 100644 --- a/core/src/loader/http/syncplaystop.cpp +++ b/core/src/loader/http/syncplaystop.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d151850 100644 --- a/core/src/loader/http/syncplayunpause.cpp +++ b/core/src/loader/http/syncplayunpause.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/uninstallplugin.cpp b/core/src/loader/http/uninstallplugin.cpp index e69de29..b9fed2e 100644 --- a/core/src/loader/http/uninstallplugin.cpp +++ b/core/src/loader/http/uninstallplugin.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..b3e3517 100644 --- a/core/src/loader/http/uninstallpluginbyversion.cpp +++ b/core/src/loader/http/uninstallpluginbyversion.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/unmarkfavoriteitem.cpp b/core/src/loader/http/unmarkfavoriteitem.cpp index e69de29..3346053 100644 --- a/core/src/loader/http/unmarkfavoriteitem.cpp +++ b/core/src/loader/http/unmarkfavoriteitem.cpp @@ -0,0 +1,59 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +UnmarkFavoriteItem::UnmarkFavoriteItem(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString UnmarkFavoriteItem::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(params.userId()) + QStringLiteral("/FavoriteItems/") + Support::toString(params.itemId()) ; +} + +QUrlQuery UnmarkFavoriteItem::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 index e69de29..42cc8f4 100644 --- a/core/src/loader/http/updateconfiguration.cpp +++ b/core/src/loader/http/updateconfiguration.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..1aafaeb 100644 --- a/core/src/loader/http/updatedeviceoptions.cpp +++ b/core/src/loader/http/updatedeviceoptions.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..10788b0 100644 --- a/core/src/loader/http/updatedisplaypreferences.cpp +++ b/core/src/loader/http/updatedisplaypreferences.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d3249dd 100644 --- a/core/src/loader/http/updateinitialconfiguration.cpp +++ b/core/src/loader/http/updateinitialconfiguration.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..853087d 100644 --- a/core/src/loader/http/updateitem.cpp +++ b/core/src/loader/http/updateitem.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..0917584 100644 --- a/core/src/loader/http/updateitemcontenttype.cpp +++ b/core/src/loader/http/updateitemcontenttype.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..d82b118 100644 --- a/core/src/loader/http/updateitemimageindex.cpp +++ b/core/src/loader/http/updateitemimageindex.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..360c463 100644 --- a/core/src/loader/http/updatelibraryoptions.cpp +++ b/core/src/loader/http/updatelibraryoptions.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..b79ce0b 100644 --- a/core/src/loader/http/updatemediaencoderpath.cpp +++ b/core/src/loader/http/updatemediaencoderpath.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..a77b4da 100644 --- a/core/src/loader/http/updatemediapath.cpp +++ b/core/src/loader/http/updatemediapath.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..b428f0c 100644 --- a/core/src/loader/http/updatenamedconfiguration.cpp +++ b/core/src/loader/http/updatenamedconfiguration.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..0e51e0c 100644 --- a/core/src/loader/http/updatepluginconfiguration.cpp +++ b/core/src/loader/http/updatepluginconfiguration.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..28391f1 100644 --- a/core/src/loader/http/updatepluginsecurityinfo.cpp +++ b/core/src/loader/http/updatepluginsecurityinfo.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..0dc4666 100644 --- a/core/src/loader/http/updateprofile.cpp +++ b/core/src/loader/http/updateprofile.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f5def5e 100644 --- a/core/src/loader/http/updateseriestimer.cpp +++ b/core/src/loader/http/updateseriestimer.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..9602954 100644 --- a/core/src/loader/http/updatestartupuser.cpp +++ b/core/src/loader/http/updatestartupuser.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..8cc75ed 100644 --- a/core/src/loader/http/updatetask.cpp +++ b/core/src/loader/http/updatetask.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..0141987 100644 --- a/core/src/loader/http/updatetimer.cpp +++ b/core/src/loader/http/updatetimer.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..770f8c6 100644 --- a/core/src/loader/http/updateuser.cpp +++ b/core/src/loader/http/updateuser.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..86cb64f 100644 --- a/core/src/loader/http/updateuserconfiguration.cpp +++ b/core/src/loader/http/updateuserconfiguration.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..73b2ddb 100644 --- a/core/src/loader/http/updateusereasypassword.cpp +++ b/core/src/loader/http/updateusereasypassword.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..f72d757 100644 --- a/core/src/loader/http/updateuseritemrating.cpp +++ b/core/src/loader/http/updateuseritemrating.cpp @@ -0,0 +1,62 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { +namespace HTTP { + + +UpdateUserItemRating::UpdateUserItemRating(ApiClient *apiClient) + : Jellyfin::Support::HttpLoader(apiClient) {} + +QString UpdateUserItemRating::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(params.userId()) + QStringLiteral("/Items/") + Support::toString(params.itemId()) + QStringLiteral("/Rating"); +} + +QUrlQuery UpdateUserItemRating::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 index e69de29..c94da25 100644 --- a/core/src/loader/http/updateuserpassword.cpp +++ b/core/src/loader/http/updateuserpassword.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..611af3f 100644 --- a/core/src/loader/http/updateuserpolicy.cpp +++ b/core/src/loader/http/updateuserpolicy.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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 index e69de29..fb8cea8 100644 --- a/core/src/loader/http/uploadsubtitle.cpp +++ b/core/src/loader/http/uploadsubtitle.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/validatepath.cpp b/core/src/loader/http/validatepath.cpp index e69de29..8517195 100644 --- a/core/src/loader/http/validatepath.cpp +++ b/core/src/loader/http/validatepath.cpp @@ -0,0 +1,40 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.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/requesttypes.cpp b/core/src/loader/requesttypes.cpp new file mode 100644 index 0000000..e62cc62 --- /dev/null +++ b/core/src/loader/requesttypes.cpp @@ -0,0 +1,49548 @@ +/* + * Sailfin: a Jellyfin client written using Qt + * Copyright (C) 2021 Chris Josten and the Sailfin Contributors. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +/* + * WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET + * OVERWRITTEN AT SOME POINT! + * + * If there is a bug in this file, please fix the code generator used to generate this file found in + * core/openapigenerator.d. + * + * This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that + * file with a newer file if needed instead of manually updating the files. + */ + +#include + +namespace Jellyfin { +namespace Loader { + +using namespace Jellyfin::DTO; + +// ActivateParams + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// AddTunerHostParams + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// AuthenticateUserByNameParams + + + +// AuthenticateWithQuickConnectParams + + + +// AuthorizeParams + +const QString &AuthorizeParams::code() const { + return m_code; +} + +void AuthorizeParams::setCode(QString newCode) { + m_code = newCode; +} + + + + +// 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; +} + + + + +// CancelPackageInstallationParams + +const QString &CancelPackageInstallationParams::packageId() const { + return m_packageId; +} + +void CancelPackageInstallationParams::setPackageId(QString newPackageId) { + m_packageId = newPackageId; +} + + + + +// CancelSeriesTimerParams + +const QString &CancelSeriesTimerParams::timerId() const { + return m_timerId; +} + +void CancelSeriesTimerParams::setTimerId(QString newTimerId) { + m_timerId = newTimerId; +} + + + + +// CancelTimerParams + +const QString &CancelTimerParams::timerId() const { + return m_timerId; +} + +void CancelTimerParams::setTimerId(QString newTimerId) { + m_timerId = newTimerId; +} + + + + +// CloseLiveStreamParams + +const QString &CloseLiveStreamParams::liveStreamId() const { + return m_liveStreamId; +} + +void CloseLiveStreamParams::setLiveStreamId(QString newLiveStreamId) { + m_liveStreamId = newLiveStreamId; +} + + + + +// CompleteWizardParams + + + +// ConnectParams + +const QString &ConnectParams::secret() const { + return m_secret; +} + +void ConnectParams::setSecret(QString newSecret) { + m_secret = newSecret; +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// CreateKeyParams + +const QString &CreateKeyParams::app() const { + return m_app; +} + +void CreateKeyParams::setApp(QString newApp) { + m_app = newApp; +} + + + + +// 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(); +} + + + + +// CreateProfileParams + + + +// CreateSeriesTimerParams + + + +// CreateTimerParams + + + +// CreateUserByNameParams + + + +// DeauthorizeParams + + + +// DeleteAlternateSourcesParams + +const QString &DeleteAlternateSourcesParams::itemId() const { + return m_itemId; +} + +void DeleteAlternateSourcesParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// DeleteDeviceParams + +const QString &DeleteDeviceParams::jellyfinId() const { + return m_jellyfinId; +} + +void DeleteDeviceParams::setJellyfinId(QString newJellyfinId) { + m_jellyfinId = newJellyfinId; +} + + + + +// DeleteItemParams + +const QString &DeleteItemParams::itemId() const { + return m_itemId; +} + +void DeleteItemParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// DeleteProfileParams + +const QString &DeleteProfileParams::profileId() const { + return m_profileId; +} + +void DeleteProfileParams::setProfileId(QString newProfileId) { + m_profileId = newProfileId; +} + + + + +// DeleteRecordingParams + +const QString &DeleteRecordingParams::recordingId() const { + return m_recordingId; +} + +void DeleteRecordingParams::setRecordingId(QString newRecordingId) { + m_recordingId = newRecordingId; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// DeleteUserParams + +const QString &DeleteUserParams::userId() const { + return m_userId; +} + +void DeleteUserParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// ForgotPasswordParams + + + +// ForgotPasswordPinParams + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// GetAllChannelFeaturesParams + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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.value(); +} + +void GetAudioStreamParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetAudioStreamParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetAudioStreamParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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.value(); +} + +void GetAudioStreamByContainerParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetAudioStreamByContainerParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetAudioStreamByContainerParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// GetAuthProvidersParams + + + +// 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; +} + + + + +// GetBookRemoteSearchResultsParams + + + +// GetBoxSetRemoteSearchResultsParams + + + +// GetBrandingCssParams + + + +// GetBrandingCss_2Params + + + +// GetBrandingOptionsParams + + + +// 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(); +} + + + + +// GetChannelFeaturesParams + +const QString &GetChannelFeaturesParams::channelId() const { + return m_channelId; +} + +void GetChannelFeaturesParams::setChannelId(QString newChannelId) { + m_channelId = newChannelId; +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// GetConfigurationParams + + + +// 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; +} + + + + +// GetConnectionManagerParams + +const QString &GetConnectionManagerParams::serverId() const { + return m_serverId; +} + +void GetConnectionManagerParams::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetConnectionManager_2Params + +const QString &GetConnectionManager_2Params::serverId() const { + return m_serverId; +} + +void GetConnectionManager_2Params::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetConnectionManager_3Params + +const QString &GetConnectionManager_3Params::serverId() const { + return m_serverId; +} + +void GetConnectionManager_3Params::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetContentDirectoryParams + +const QString &GetContentDirectoryParams::serverId() const { + return m_serverId; +} + +void GetContentDirectoryParams::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetContentDirectory_2Params + +const QString &GetContentDirectory_2Params::serverId() const { + return m_serverId; +} + +void GetContentDirectory_2Params::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetContentDirectory_3Params + +const QString &GetContentDirectory_3Params::serverId() const { + return m_serverId; +} + +void GetContentDirectory_3Params::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetCountriesParams + + + +// GetCriticReviewsParams + +const QString &GetCriticReviewsParams::itemId() const { + return m_itemId; +} + +void GetCriticReviewsParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// GetCulturesParams + + + +// GetCurrentUserParams + + + +// 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(); +} + + + + +// GetDefaultDirectoryBrowserParams + + + +// GetDefaultListingProviderParams + + + +// GetDefaultMetadataOptionsParams + + + +// GetDefaultProfileParams + + + +// 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(); +} + + + + +// GetDescriptionXmlParams + +const QString &GetDescriptionXmlParams::serverId() const { + return m_serverId; +} + +void GetDescriptionXmlParams::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetDescriptionXml_2Params + +const QString &GetDescriptionXml_2Params::serverId() const { + return m_serverId; +} + +void GetDescriptionXml_2Params::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetDeviceInfoParams + +const QString &GetDeviceInfoParams::jellyfinId() const { + return m_jellyfinId; +} + +void GetDeviceInfoParams::setJellyfinId(QString newJellyfinId) { + m_jellyfinId = newJellyfinId; +} + + + + +// GetDeviceOptionsParams + +const QString &GetDeviceOptionsParams::jellyfinId() const { + return m_jellyfinId; +} + +void GetDeviceOptionsParams::setJellyfinId(QString newJellyfinId) { + m_jellyfinId = newJellyfinId; +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// GetDownloadParams + +const QString &GetDownloadParams::itemId() const { + return m_itemId; +} + +void GetDownloadParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// GetDrivesParams + + + +// GetEndpointInfoParams + + + +// 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(); +} + + + + +// GetExternalIdInfosParams + +const QString &GetExternalIdInfosParams::itemId() const { + return m_itemId; +} + +void GetExternalIdInfosParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// GetFallbackFontParams + +const QString &GetFallbackFontParams::name() const { + return m_name; +} + +void GetFallbackFontParams::setName(QString newName) { + m_name = newName; +} + + + + +// GetFallbackFontListParams + + + +// GetFileParams + +const QString &GetFileParams::itemId() const { + return m_itemId; +} + +void GetFileParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// GetFirstUserParams + + + +// GetFirstUser_2Params + + + +// 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; +} + + + + +// GetGeneralImagesParams + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// GetGroupingOptionsParams + +const QString &GetGroupingOptionsParams::userId() const { + return m_userId; +} + +void GetGroupingOptionsParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// GetGuideInfoParams + + + +// 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.value(); +} + +void GetHlsAudioSegmentParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetHlsAudioSegmentParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetHlsAudioSegmentParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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.value(); +} + +void GetHlsVideoSegmentParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetHlsVideoSegmentParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetHlsVideoSegmentParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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; +} + + + + +// GetIconParams + +const QString &GetIconParams::fileName() const { + return m_fileName; +} + +void GetIconParams::setFileName(QString newFileName) { + m_fileName = newFileName; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// GetItemImageInfosParams + +const QString &GetItemImageInfosParams::itemId() const { + return m_itemId; +} + +void GetItemImageInfosParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// GetKeysParams + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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.value(); +} + +void GetLiveHlsStreamParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetLiveHlsStreamParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetLiveHlsStreamParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// GetLiveRecordingFileParams + +const QString &GetLiveRecordingFileParams::recordingId() const { + return m_recordingId; +} + +void GetLiveRecordingFileParams::setRecordingId(QString newRecordingId) { + m_recordingId = newRecordingId; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// GetLiveTvInfoParams + + + +// 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(); +} + + + + +// 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; +} + + + + +// GetLocalizationOptionsParams + + + +// 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; +} + + + + +// GetLogFileParams + +const QString &GetLogFileParams::name() const { + return m_name; +} + +void GetLogFileParams::setName(QString newName) { + m_name = newName; +} + + + + +// 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.value(); +} + +void GetMasterHlsAudioPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetMasterHlsAudioPlaylistParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetMasterHlsAudioPlaylistParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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.value(); +} + +void GetMasterHlsVideoPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetMasterHlsVideoPlaylistParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetMasterHlsVideoPlaylistParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// GetMediaInfoImagesParams + + + +// GetMediaReceiverRegistrarParams + +const QString &GetMediaReceiverRegistrarParams::serverId() const { + return m_serverId; +} + +void GetMediaReceiverRegistrarParams::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetMediaReceiverRegistrar_2Params + +const QString &GetMediaReceiverRegistrar_2Params::serverId() const { + return m_serverId; +} + +void GetMediaReceiverRegistrar_2Params::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetMediaReceiverRegistrar_3Params + +const QString &GetMediaReceiverRegistrar_3Params::serverId() const { + return m_serverId; +} + +void GetMediaReceiverRegistrar_3Params::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// GetMetadataEditorInfoParams + +const QString &GetMetadataEditorInfoParams::itemId() const { + return m_itemId; +} + +void GetMetadataEditorInfoParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// 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(); +} + + + + +// GetMovieRemoteSearchResultsParams + + + +// GetMusicAlbumRemoteSearchResultsParams + + + +// GetMusicArtistRemoteSearchResultsParams + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// GetMusicVideoRemoteSearchResultsParams + + + +// GetNamedConfigurationParams + +const QString &GetNamedConfigurationParams::key() const { + return m_key; +} + +void GetNamedConfigurationParams::setKey(QString newKey) { + m_key = newKey; +} + + + + +// GetNetworkSharesParams + + + +// 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(); +} + + + + +// GetNotificationServicesParams + + + +// GetNotificationTypesParams + + + +// GetNotificationsParams + +const QString &GetNotificationsParams::userId() const { + return m_userId; +} + +void GetNotificationsParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// GetNotificationsSummaryParams + +const QString &GetNotificationsSummaryParams::userId() const { + return m_userId; +} + +void GetNotificationsSummaryParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// 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(); +} + + + + +// GetPackagesParams + + + +// GetParentPathParams + +const QString &GetParentPathParams::path() const { + return m_path; +} + +void GetParentPathParams::setPath(QString newPath) { + m_path = newPath; +} + + + + +// GetParentalRatingsParams + + + +// GetPasswordResetProvidersParams + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// GetPersonRemoteSearchResultsParams + + + +// 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(); +} + + + + +// GetPhysicalPathsParams + + + +// GetPingSystemParams + + + +// 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; +} + + + + +// 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; +} + + + + +// GetPluginConfigurationParams + +const QString &GetPluginConfigurationParams::pluginId() const { + return m_pluginId; +} + +void GetPluginConfigurationParams::setPluginId(QString newPluginId) { + m_pluginId = newPluginId; +} + + + + +// 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; +} + + + + +// GetPluginManifestParams + +const QString &GetPluginManifestParams::pluginId() const { + return m_pluginId; +} + +void GetPluginManifestParams::setPluginId(QString newPluginId) { + m_pluginId = newPluginId; +} + + + + +// GetPluginsParams + + + +// 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(); +} + + + + +// GetProfileParams + +const QString &GetProfileParams::profileId() const { + return m_profileId; +} + +void GetProfileParams::setProfileId(QString newProfileId) { + m_profileId = newProfileId; +} + + + + +// GetProfileInfosParams + + + +// 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(); +} + + + + +// GetProgramsParams + + + +// GetPublicSystemInfoParams + + + +// GetPublicUsersParams + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// GetRatingImagesParams + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// GetRecordingGroupParams + +const QString &GetRecordingGroupParams::groupId() const { + return m_groupId; +} + +void GetRecordingGroupParams::setGroupId(QString newGroupId) { + m_groupId = newGroupId; +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// GetRemoteImageParams + +const QString &GetRemoteImageParams::imageUrl() const { + return m_imageUrl; +} + +void GetRemoteImageParams::setImageUrl(QString newImageUrl) { + m_imageUrl = newImageUrl; +} + + + + +// GetRemoteImageProvidersParams + +const QString &GetRemoteImageProvidersParams::itemId() const { + return m_itemId; +} + +void GetRemoteImageProvidersParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// GetRemoteSubtitlesParams + +const QString &GetRemoteSubtitlesParams::jellyfinId() const { + return m_jellyfinId; +} + +void GetRemoteSubtitlesParams::setJellyfinId(QString newJellyfinId) { + m_jellyfinId = newJellyfinId; +} + + + + +// GetRepositoriesParams + + + +// 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; +} + + + + +// GetRootFolderParams + +const QString &GetRootFolderParams::userId() const { + return m_userId; +} + +void GetRootFolderParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// GetSchedulesDirectCountriesParams + + + +// 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(); +} + + + + +// GetSeriesRemoteSearchResultsParams + + + +// GetSeriesTimerParams + +const QString &GetSeriesTimerParams::timerId() const { + return m_timerId; +} + +void GetSeriesTimerParams::setTimerId(QString newTimerId) { + m_timerId = newTimerId; +} + + + + +// 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; +} + + + + +// GetServerLogsParams + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// GetStartupConfigurationParams + + + +// GetStatusParams + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// GetSystemInfoParams + + + +// GetTaskParams + +const QString &GetTaskParams::taskId() const { + return m_taskId; +} + +void GetTaskParams::setTaskId(QString newTaskId) { + m_taskId = newTaskId; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// GetTimerParams + +const QString &GetTimerParams::timerId() const { + return m_timerId; +} + +void GetTimerParams::setTimerId(QString newTimerId) { + m_timerId = newTimerId; +} + + + + +// 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(); +} + + + + +// GetTrailerRemoteSearchResultsParams + + + +// 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(); +} + + + + +// GetTunerHostTypesParams + + + +// 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(); +} + + + + +// 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(); +} + + + + +// GetUserByIdParams + +const QString &GetUserByIdParams::userId() const { + return m_userId; +} + +void GetUserByIdParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// GetUtcTimeParams + + + +// 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.value(); +} + +void GetVariantHlsAudioPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetVariantHlsAudioPlaylistParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetVariantHlsAudioPlaylistParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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.value(); +} + +void GetVariantHlsVideoPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetVariantHlsVideoPlaylistParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetVariantHlsVideoPlaylistParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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.value(); +} + +void GetVideoStreamParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetVideoStreamParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetVideoStreamParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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.value(); +} + +void GetVideoStreamByContainerParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool GetVideoStreamByContainerParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void GetVideoStreamByContainerParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// GetVirtualFoldersParams + + + +// GetWakeOnLanInfoParams + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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.value(); +} + +void HeadAudioStreamParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool HeadAudioStreamParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void HeadAudioStreamParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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.value(); +} + +void HeadAudioStreamByContainerParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool HeadAudioStreamByContainerParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void HeadAudioStreamByContainerParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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.value(); +} + +void HeadMasterHlsAudioPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool HeadMasterHlsAudioPlaylistParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void HeadMasterHlsAudioPlaylistParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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.value(); +} + +void HeadMasterHlsVideoPlaylistParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool HeadMasterHlsVideoPlaylistParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void HeadMasterHlsVideoPlaylistParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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.value(); +} + +void HeadVideoStreamParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool HeadVideoStreamParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void HeadVideoStreamParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// 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.value(); +} + +void HeadVideoStreamByContainerParams::setStreamOptions(QJsonObject newStreamOptions) { + m_streamOptions = newStreamOptions; +} + +bool HeadVideoStreamByContainerParams::streamOptionsNull() const { + // Nullable: true + // Type Nullable: false + + + return !m_streamOptions.has_value(); +} + +void HeadVideoStreamByContainerParams::setStreamOptionsNull() { + m_streamOptions = std::nullopt; +} + + +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; +} + + + + +// InitiateParams + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// MergeVersionsParams + +const QStringList &MergeVersionsParams::ids() const { + return m_ids; +} + +void MergeVersionsParams::setIds(QStringList newIds) { + m_ids = newIds; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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(); +} + + + + +// PostPingSystemParams + + + +// PostUpdatedMediaParams + + + +// 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(); +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// ProcessConnectionManagerControlRequestParams + +const QString &ProcessConnectionManagerControlRequestParams::serverId() const { + return m_serverId; +} + +void ProcessConnectionManagerControlRequestParams::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// ProcessContentDirectoryControlRequestParams + +const QString &ProcessContentDirectoryControlRequestParams::serverId() const { + return m_serverId; +} + +void ProcessContentDirectoryControlRequestParams::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// ProcessMediaReceiverRegistrarControlRequestParams + +const QString &ProcessMediaReceiverRegistrarControlRequestParams::serverId() const { + return m_serverId; +} + +void ProcessMediaReceiverRegistrarControlRequestParams::setServerId(QString newServerId) { + m_serverId = newServerId; +} + + + + +// RefreshLibraryParams + + + +// 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; +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// ReportPlaybackProgressParams + + + +// ReportPlaybackStartParams + + + +// ReportPlaybackStoppedParams + + + +// ReportSessionEndedParams + + + +// 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(); +} + + + + +// ResetTunerParams + +const QString &ResetTunerParams::tunerId() const { + return m_tunerId; +} + +void ResetTunerParams::setTunerId(QString newTunerId) { + m_tunerId = newTunerId; +} + + + + +// RestartApplicationParams + + + +// RevokeKeyParams + +const QString &RevokeKeyParams::key() const { + return m_key; +} + +void RevokeKeyParams::setKey(QString newKey) { + m_key = newKey; +} + + + + +// 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; +} + + + + +// SendFullGeneralCommandParams + +const QString &SendFullGeneralCommandParams::sessionId() const { + return m_sessionId; +} + +void SendFullGeneralCommandParams::setSessionId(QString newSessionId) { + m_sessionId = newSessionId; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// SetChannelMappingParams + + + +// 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; +} + + + + +// 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; +} + + + + +// SetReadParams + +const QString &SetReadParams::userId() const { + return m_userId; +} + +void SetReadParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// SetRemoteAccessParams + + + +// SetRepositoriesParams + + + +// SetUnreadParams + +const QString &SetUnreadParams::userId() const { + return m_userId; +} + +void SetUnreadParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// ShutdownApplicationParams + + + +// StartTaskParams + +const QString &StartTaskParams::taskId() const { + return m_taskId; +} + +void StartTaskParams::setTaskId(QString newTaskId) { + m_taskId = newTaskId; +} + + + + +// 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(); +} + + + + +// StopTaskParams + +const QString &StopTaskParams::taskId() const { + return m_taskId; +} + +void StopTaskParams::setTaskId(QString newTaskId) { + m_taskId = newTaskId; +} + + + + +// SyncPlayBufferingParams + + + +// SyncPlayCreateGroupParams + + + +// SyncPlayGetGroupsParams + + + +// SyncPlayJoinGroupParams + + + +// SyncPlayLeaveGroupParams + + + +// SyncPlayMovePlaylistItemParams + + + +// SyncPlayNextItemParams + + + +// SyncPlayPauseParams + + + +// SyncPlayPingParams + + + +// SyncPlayPreviousItemParams + + + +// SyncPlayQueueParams + + + +// SyncPlayReadyParams + + + +// SyncPlayRemoveFromPlaylistParams + + + +// SyncPlaySeekParams + + + +// SyncPlaySetIgnoreWaitParams + + + +// SyncPlaySetNewQueueParams + + + +// SyncPlaySetPlaylistItemParams + + + +// SyncPlaySetRepeatModeParams + + + +// SyncPlaySetShuffleModeParams + + + +// SyncPlayStopParams + + + +// SyncPlayUnpauseParams + + + +// UninstallPluginParams + +const QString &UninstallPluginParams::pluginId() const { + return m_pluginId; +} + +void UninstallPluginParams::setPluginId(QString newPluginId) { + m_pluginId = newPluginId; +} + + + + +// 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; +} + + + + +// 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; +} + + + + +// UpdateConfigurationParams + + + +// UpdateDeviceOptionsParams + +const QString &UpdateDeviceOptionsParams::jellyfinId() const { + return m_jellyfinId; +} + +void UpdateDeviceOptionsParams::setJellyfinId(QString newJellyfinId) { + m_jellyfinId = newJellyfinId; +} + + + + +// 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; +} + + + + +// UpdateInitialConfigurationParams + + + +// UpdateItemParams + +const QString &UpdateItemParams::itemId() const { + return m_itemId; +} + +void UpdateItemParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// 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(); +} + + + + +// 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; +} + + + + +// UpdateLibraryOptionsParams + + + +// UpdateMediaEncoderPathParams + + + +// 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(); +} + + + + +// UpdateNamedConfigurationParams + +const QString &UpdateNamedConfigurationParams::key() const { + return m_key; +} + +void UpdateNamedConfigurationParams::setKey(QString newKey) { + m_key = newKey; +} + + + + +// UpdatePluginConfigurationParams + +const QString &UpdatePluginConfigurationParams::pluginId() const { + return m_pluginId; +} + +void UpdatePluginConfigurationParams::setPluginId(QString newPluginId) { + m_pluginId = newPluginId; +} + + + + +// UpdatePluginSecurityInfoParams + + + +// UpdateProfileParams + +const QString &UpdateProfileParams::profileId() const { + return m_profileId; +} + +void UpdateProfileParams::setProfileId(QString newProfileId) { + m_profileId = newProfileId; +} + + + + +// UpdateSeriesTimerParams + +const QString &UpdateSeriesTimerParams::timerId() const { + return m_timerId; +} + +void UpdateSeriesTimerParams::setTimerId(QString newTimerId) { + m_timerId = newTimerId; +} + + + + +// UpdateStartupUserParams + + + +// UpdateTaskParams + +const QString &UpdateTaskParams::taskId() const { + return m_taskId; +} + +void UpdateTaskParams::setTaskId(QString newTaskId) { + m_taskId = newTaskId; +} + + + + +// UpdateTimerParams + +const QString &UpdateTimerParams::timerId() const { + return m_timerId; +} + +void UpdateTimerParams::setTimerId(QString newTimerId) { + m_timerId = newTimerId; +} + + + + +// UpdateUserParams + +const QString &UpdateUserParams::userId() const { + return m_userId; +} + +void UpdateUserParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// UpdateUserConfigurationParams + +const QString &UpdateUserConfigurationParams::userId() const { + return m_userId; +} + +void UpdateUserConfigurationParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// UpdateUserEasyPasswordParams + +const QString &UpdateUserEasyPasswordParams::userId() const { + return m_userId; +} + +void UpdateUserEasyPasswordParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// 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; +} + + + + +// UpdateUserPasswordParams + +const QString &UpdateUserPasswordParams::userId() const { + return m_userId; +} + +void UpdateUserPasswordParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// UpdateUserPolicyParams + +const QString &UpdateUserPolicyParams::userId() const { + return m_userId; +} + +void UpdateUserPolicyParams::setUserId(QString newUserId) { + m_userId = newUserId; +} + + + + +// UploadSubtitleParams + +const QString &UploadSubtitleParams::itemId() const { + return m_itemId; +} + +void UploadSubtitleParams::setItemId(QString newItemId) { + m_itemId = newItemId; +} + + + + +// ValidatePathParams + + + + +} // NS Loader +} // NS Jellyfin diff --git a/core/src/model/item.cpp b/core/src/model/item.cpp index a80426b..f0e6583 100644 --- a/core/src/model/item.cpp +++ b/core/src/model/item.cpp @@ -40,7 +40,7 @@ Item::~Item() { } } -bool Item::sameAs(const Item &other) { +bool Item::sameAs(const DTO::BaseItemDto &other) { return jellyfinId() == other.jellyfinId(); } diff --git a/core/src/support/jsonconv.cpp b/core/src/support/jsonconv.cpp index 83b9850..ef942fe 100644 --- a/core/src/support/jsonconv.cpp +++ b/core/src/support/jsonconv.cpp @@ -122,5 +122,31 @@ QJsonValue toJsonValue(const QUuid &source) { return uuidToString(source); } +// String types +template <> +QString toString(const QUuid &source) { + return uuidToString(source); +} + +template <> +QString toString(const qint32 &source) { + return QString::number(source); +} + +template <> +QString toString(const qint64 &source) { + return QString::number(source); +} + +template <> +QString toString(const bool &source) { + return source ? QStringLiteral("true") : QStringLiteral("false"); +} + +template <> +QString toString(const QString &source) { + return source; +} + } // NS Support } // NS Jellyfin diff --git a/core/src/viewmodel/item.cpp b/core/src/viewmodel/item.cpp index 2901e4c..1e9df2b 100644 --- a/core/src/viewmodel/item.cpp +++ b/core/src/viewmodel/item.cpp @@ -21,6 +21,9 @@ namespace Jellyfin { namespace ViewModel { +Item::Item(QObject *parent) + : Item(nullptr, parent){} + Item::Item(QSharedPointer data, QObject *parent) : QObject(parent), m_data(data){} @@ -29,6 +32,31 @@ void Item::setData(QSharedPointer newData) { m_data = newData; } + +// ItemLoader + +ItemLoader::ItemLoader(QObject *parent) + : BaseClass(Jellyfin::Loader::HTTP::GetItem(), parent) { +} + +void ItemLoader::onApiClientChanged(ApiClient *newApiClient) { + if (m_apiClient != nullptr) { + disconnect(m_apiClient, &ApiClient::userIdChanged, this, &ItemLoader::setUserId); + } + if (newApiClient != nullptr) { + m_parameters.setUserId(newApiClient->userId()); + connect(newApiClient, &ApiClient::userIdChanged, this, &ItemLoader::setUserId); + } +} + +void ItemLoader::setUserId(const QString &newUserId) { + m_parameters.setUserId(newUserId); +} + +bool ItemLoader::canReload() const { + return BaseClass::canReload() && !m_parameters.itemId().isEmpty(); +} + } } diff --git a/core/src/viewmodel/loader.cpp b/core/src/viewmodel/loader.cpp index 0fb654e..772a72f 100644 --- a/core/src/viewmodel/loader.cpp +++ b/core/src/viewmodel/loader.cpp @@ -45,7 +45,7 @@ void LoaderBase::setApiClient(ApiClient *newApiClient) { } void LoaderBase::emitDataChanged() { - emit viewModelChanged(); + emit dataChanged(); } void registerRemoteTypes(const char *uri) { diff --git a/qtquick/qml/pages/DetailPage.qml b/qtquick/qml/pages/DetailPage.qml index bbff247..91d2994 100644 --- a/qtquick/qml/pages/DetailPage.qml +++ b/qtquick/qml/pages/DetailPage.qml @@ -2,7 +2,7 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Window 2.12 -import nl.netsoj.chris.Jellyfin 1.0 +import nl.netsoj.chris.Jellyfin 1.0 as J import "../components" import "../.." @@ -11,7 +11,7 @@ Page { property bool _modelsLoaded: false property StackView stackView: StackView.view property string itemId - property alias jellyfinItem: jellyfinItem + property alias jellyfinItem: jellyfinItem.data header: ToolBar { Label { anchors.horizontalCenter: parent.horizontalCenter @@ -24,7 +24,7 @@ Page { anchors.fill: parent onClicked: stackView.pop() } - JellyfinItem { + J.ItemLoader { id: jellyfinItem jellyfinId: itemId apiClient: ApiClient