Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Toggle main menu visibility
Loading...
Searching...
No Matches
groupupdatetype.h
Go to the documentation of this file.
1
/*
2
* Sailfin: a Jellyfin client written using Qt
3
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public
7
* License as published by the Free Software Foundation; either
8
* version 2.1 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
/*
20
* WARNING: THIS IS AN AUTOMATICALLY GENERATED FILE! PLEASE DO NOT EDIT THIS, AS YOUR EDITS WILL GET
21
* OVERWRITTEN AT SOME POINT!
22
*
23
* If there is a bug in this file, please fix the code generator used to generate this file found in
24
* core/openapigenerator.d.
25
*
26
* This file is generated based on Jellyfin's OpenAPI description, "openapi.json". Please update that
27
* file with a newer file if needed instead of manually updating the files.
28
*/
29
30
#ifndef JELLYFIN_DTO_GROUPUPDATETYPE_H
31
#define JELLYFIN_DTO_GROUPUPDATETYPE_H
32
33
#include <QJsonValue>
34
#include <QObject>
35
#include <QString>
36
37
#include "
JellyfinQt/support/jsonconv.h
"
38
39
namespace
Jellyfin
{
40
// Forward declaration
41
class
ApiClient
;
42
}
43
namespace
Jellyfin
{
44
namespace
DTO
{
45
46
class
GroupUpdateTypeClass {
47
Q_GADGET
48
public
:
49
enum
Value
{
50
EnumNotSet
,
51
UserJoined
,
52
UserLeft
,
53
GroupJoined
,
54
GroupLeft
,
55
StateUpdate
,
56
PlayQueue
,
57
NotInGroup
,
58
GroupDoesNotExist
,
59
CreateGroupDenied
,
60
JoinGroupDenied
,
61
LibraryAccessDenied
,
62
};
63
Q_ENUM(
Value
)
64
private
:
65
explicit
GroupUpdateTypeClass
();
66
};
67
68
using
GroupUpdateType
=
GroupUpdateTypeClass::Value
;
69
70
}
// NS DTO
71
72
namespace
Support
{
73
74
using
GroupUpdateType
=
Jellyfin::DTO::GroupUpdateType
;
75
76
template
<>
77
GroupUpdateType
fromJsonValue
(
const
QJsonValue &source,
convertType<GroupUpdateType>
);
78
79
template
<>
80
QJsonValue
toJsonValue
(
const
GroupUpdateType
&source,
convertType<GroupUpdateType>
);
81
82
}
// NS DTO
83
}
// NS Jellyfin
84
85
#endif
// JELLYFIN_DTO_GROUPUPDATETYPE_H
Jellyfin::ApiClient
An Api client for Jellyfin. Handles requests and authentication.
Definition
apiclient.h:90
Jellyfin::DTO::GroupUpdateTypeClass
Definition
groupupdatetype.h:46
Jellyfin::DTO::GroupUpdateTypeClass::Value
Value
Definition
groupupdatetype.h:49
Jellyfin::DTO::GroupUpdateTypeClass::GroupJoined
@ GroupJoined
Definition
groupupdatetype.h:53
Jellyfin::DTO::GroupUpdateTypeClass::JoinGroupDenied
@ JoinGroupDenied
Definition
groupupdatetype.h:60
Jellyfin::DTO::GroupUpdateTypeClass::CreateGroupDenied
@ CreateGroupDenied
Definition
groupupdatetype.h:59
Jellyfin::DTO::GroupUpdateTypeClass::LibraryAccessDenied
@ LibraryAccessDenied
Definition
groupupdatetype.h:61
Jellyfin::DTO::GroupUpdateTypeClass::NotInGroup
@ NotInGroup
Definition
groupupdatetype.h:57
Jellyfin::DTO::GroupUpdateTypeClass::UserLeft
@ UserLeft
Definition
groupupdatetype.h:52
Jellyfin::DTO::GroupUpdateTypeClass::GroupDoesNotExist
@ GroupDoesNotExist
Definition
groupupdatetype.h:58
Jellyfin::DTO::GroupUpdateTypeClass::UserJoined
@ UserJoined
Definition
groupupdatetype.h:51
Jellyfin::DTO::GroupUpdateTypeClass::EnumNotSet
@ EnumNotSet
Definition
groupupdatetype.h:50
Jellyfin::DTO::GroupUpdateTypeClass::PlayQueue
@ PlayQueue
Definition
groupupdatetype.h:56
Jellyfin::DTO::GroupUpdateTypeClass::StateUpdate
@ StateUpdate
Definition
groupupdatetype.h:55
Jellyfin::DTO::GroupUpdateTypeClass::GroupLeft
@ GroupLeft
Definition
groupupdatetype.h:54
jsonconv.h
Jellyfin::DTO
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Jellyfin::DTO::GroupUpdateType
GroupUpdateTypeClass::Value GroupUpdateType
Definition
groupupdatetype.h:68
Jellyfin::Support
Definition
accessschedule.h:128
Jellyfin::Support::fromJsonValue
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition
accessschedule.cpp:133
Jellyfin::Support::GroupUpdateType
Jellyfin::DTO::GroupUpdateType GroupUpdateType
Definition
groupupdatetype.h:74
Jellyfin::Support::toJsonValue
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition
accessschedule.cpp:139
Jellyfin
Jellyfin::Support::convertType
Definition
jsonconvimpl.h:45
core
include
JellyfinQt
dto
groupupdatetype.h
Generated by
1.17.0