Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
metadataoptions.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_METADATAOPTIONS_H
31#define JELLYFIN_DTO_METADATAOPTIONS_H
32
33#include <QJsonObject>
34#include <QJsonValue>
35#include <QList>
36#include <QString>
37#include <QStringList>
38#include <optional>
39
41
42namespace Jellyfin {
43// Forward declaration
44class ApiClient;
45}
46namespace Jellyfin {
47namespace DTO {
48
49
51public: MetadataOptions();
52 MetadataOptions(const MetadataOptions &other);
53
57 void replaceData(MetadataOptions &other);
58
59 static MetadataOptions fromJson(QJsonObject source);
60 void setFromJson(QJsonObject source);
61 QJsonObject toJson() const;
62
63 // Properties
64
65 QString itemType() const;
66
67 void setItemType(QString newItemType);
68 bool itemTypeNull() const;
69 void setItemTypeNull();
70
71
72 QStringList disabledMetadataSavers() const;
73
74 void setDisabledMetadataSavers(QStringList newDisabledMetadataSavers);
75 bool disabledMetadataSaversNull() const;
77
78
79 QStringList localMetadataReaderOrder() const;
80
81 void setLocalMetadataReaderOrder(QStringList newLocalMetadataReaderOrder);
84
85
86 QStringList disabledMetadataFetchers() const;
87
88 void setDisabledMetadataFetchers(QStringList newDisabledMetadataFetchers);
91
92
93 QStringList metadataFetcherOrder() const;
94
95 void setMetadataFetcherOrder(QStringList newMetadataFetcherOrder);
96 bool metadataFetcherOrderNull() const;
98
99
100 QStringList disabledImageFetchers() const;
101
102 void setDisabledImageFetchers(QStringList newDisabledImageFetchers);
103 bool disabledImageFetchersNull() const;
105
106
107 QStringList imageFetcherOrder() const;
108
109 void setImageFetcherOrder(QStringList newImageFetcherOrder);
110 bool imageFetcherOrderNull() const;
112
113
114protected:
115 QString m_itemType;
122
123
124};
125
126
127} // NS DTO
128
129namespace Support {
130
132
133template <>
135
136template<>
138
139} // NS DTO
140} // NS Jellyfin
141
142#endif // JELLYFIN_DTO_METADATAOPTIONS_H
Definition metadataoptions.h:50
void setLocalMetadataReaderOrder(QStringList newLocalMetadataReaderOrder)
Definition metadataoptions.cpp:145
static MetadataOptions fromJson(QJsonObject source)
Definition metadataoptions.cpp:58
QStringList disabledMetadataFetchers() const
Definition metadataoptions.cpp:156
QStringList m_disabledMetadataFetchers
Definition metadataoptions.h:118
void setImageFetcherOrderNull()
Definition metadataoptions.cpp:204
void setItemTypeNull()
Definition metadataoptions.cpp:126
void setMetadataFetcherOrder(QStringList newMetadataFetcherOrder)
Definition metadataoptions.cpp:171
MetadataOptions()
Definition metadataoptions.cpp:35
QStringList m_imageFetcherOrder
Definition metadataoptions.h:121
QStringList metadataFetcherOrder() const
Definition metadataoptions.cpp:169
bool itemTypeNull() const
Definition metadataoptions.cpp:122
void setMetadataFetcherOrderNull()
Definition metadataoptions.cpp:178
void setDisabledMetadataFetchersNull()
Definition metadataoptions.cpp:165
void setDisabledMetadataSavers(QStringList newDisabledMetadataSavers)
Definition metadataoptions.cpp:132
QStringList localMetadataReaderOrder() const
Definition metadataoptions.cpp:143
QJsonObject toJson() const
Definition metadataoptions.cpp:76
bool metadataFetcherOrderNull() const
Definition metadataoptions.cpp:174
bool disabledImageFetchersNull() const
Definition metadataoptions.cpp:187
QStringList disabledMetadataSavers() const
Definition metadataoptions.cpp:130
void setLocalMetadataReaderOrderNull()
Definition metadataoptions.cpp:152
QStringList m_disabledMetadataSavers
Definition metadataoptions.h:116
void replaceData(MetadataOptions &other)
Definition metadataoptions.cpp:48
QStringList m_disabledImageFetchers
Definition metadataoptions.h:120
QStringList disabledImageFetchers() const
Definition metadataoptions.cpp:182
QStringList imageFetcherOrder() const
Definition metadataoptions.cpp:195
void setFromJson(QJsonObject source)
Definition metadataoptions.cpp:65
void setDisabledMetadataFetchers(QStringList newDisabledMetadataFetchers)
Definition metadataoptions.cpp:158
bool localMetadataReaderOrderNull() const
Definition metadataoptions.cpp:148
bool disabledMetadataFetchersNull() const
Definition metadataoptions.cpp:161
QString itemType() const
Definition metadataoptions.cpp:117
bool disabledMetadataSaversNull() const
Definition metadataoptions.cpp:135
void setImageFetcherOrder(QStringList newImageFetcherOrder)
Definition metadataoptions.cpp:197
void setDisabledImageFetchersNull()
Definition metadataoptions.cpp:191
void setDisabledMetadataSaversNull()
Definition metadataoptions.cpp:139
QString m_itemType
Definition metadataoptions.h:115
QStringList m_metadataFetcherOrder
Definition metadataoptions.h:119
QStringList m_localMetadataReaderOrder
Definition metadataoptions.h:117
void setItemType(QString newItemType)
Definition metadataoptions.cpp:119
bool imageFetcherOrderNull() const
Definition metadataoptions.cpp:200
void setDisabledImageFetchers(QStringList newDisabledImageFetchers)
Definition metadataoptions.cpp:184
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45