Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
configimagetypes.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_CONFIGIMAGETYPES_H
31#define JELLYFIN_DTO_CONFIGIMAGETYPES_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: ConfigImageTypes();
53
57 void replaceData(ConfigImageTypes &other);
58
59 static ConfigImageTypes fromJson(QJsonObject source);
60 void setFromJson(QJsonObject source);
61 QJsonObject toJson() const;
62
63 // Properties
64
65 QStringList backdropSizes() const;
66
67 void setBackdropSizes(QStringList newBackdropSizes);
68 bool backdropSizesNull() const;
70
71
72 QString baseUrl() const;
73
74 void setBaseUrl(QString newBaseUrl);
75 bool baseUrlNull() const;
76 void setBaseUrlNull();
77
78
79 QStringList logoSizes() const;
80
81 void setLogoSizes(QStringList newLogoSizes);
82 bool logoSizesNull() const;
83 void setLogoSizesNull();
84
85
86 QStringList posterSizes() const;
87
88 void setPosterSizes(QStringList newPosterSizes);
89 bool posterSizesNull() const;
90 void setPosterSizesNull();
91
92
93 QStringList profileSizes() const;
94
95 void setProfileSizes(QStringList newProfileSizes);
96 bool profileSizesNull() const;
98
99
100 QString secureBaseUrl() const;
101
102 void setSecureBaseUrl(QString newSecureBaseUrl);
103 bool secureBaseUrlNull() const;
105
106
107 QStringList stillSizes() const;
108
109 void setStillSizes(QStringList newStillSizes);
110 bool stillSizesNull() const;
111 void setStillSizesNull();
112
113
114protected:
115 QStringList m_backdropSizes;
116 QString m_baseUrl;
117 QStringList m_logoSizes;
118 QStringList m_posterSizes;
119 QStringList m_profileSizes;
121 QStringList m_stillSizes;
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_CONFIGIMAGETYPES_H
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition configimagetypes.h:50
bool baseUrlNull() const
Definition configimagetypes.cpp:135
void setLogoSizes(QStringList newLogoSizes)
Definition configimagetypes.cpp:145
static ConfigImageTypes fromJson(QJsonObject source)
Definition configimagetypes.cpp:58
QStringList m_logoSizes
Definition configimagetypes.h:117
QStringList m_backdropSizes
Definition configimagetypes.h:115
QJsonObject toJson() const
Definition configimagetypes.cpp:76
QStringList m_stillSizes
Definition configimagetypes.h:121
void setStillSizes(QStringList newStillSizes)
Definition configimagetypes.cpp:197
bool stillSizesNull() const
Definition configimagetypes.cpp:200
void setPosterSizesNull()
Definition configimagetypes.cpp:165
bool logoSizesNull() const
Definition configimagetypes.cpp:148
QString secureBaseUrl() const
Definition configimagetypes.cpp:182
void setSecureBaseUrl(QString newSecureBaseUrl)
Definition configimagetypes.cpp:184
void setProfileSizes(QStringList newProfileSizes)
Definition configimagetypes.cpp:171
QStringList posterSizes() const
Definition configimagetypes.cpp:156
QString baseUrl() const
Definition configimagetypes.cpp:130
QString m_secureBaseUrl
Definition configimagetypes.h:120
QString m_baseUrl
Definition configimagetypes.h:116
bool backdropSizesNull() const
Definition configimagetypes.cpp:122
void setProfileSizesNull()
Definition configimagetypes.cpp:178
ConfigImageTypes()
Definition configimagetypes.cpp:35
bool secureBaseUrlNull() const
Definition configimagetypes.cpp:187
void setBaseUrlNull()
Definition configimagetypes.cpp:139
void setFromJson(QJsonObject source)
Definition configimagetypes.cpp:65
void replaceData(ConfigImageTypes &other)
Definition configimagetypes.cpp:48
void setStillSizesNull()
Definition configimagetypes.cpp:204
void setLogoSizesNull()
Definition configimagetypes.cpp:152
void setSecureBaseUrlNull()
Definition configimagetypes.cpp:191
QStringList m_profileSizes
Definition configimagetypes.h:119
QStringList m_posterSizes
Definition configimagetypes.h:118
void setBackdropSizesNull()
Definition configimagetypes.cpp:126
bool posterSizesNull() const
Definition configimagetypes.cpp:161
QStringList stillSizes() const
Definition configimagetypes.cpp:195
QStringList logoSizes() const
Definition configimagetypes.cpp:143
void setPosterSizes(QStringList newPosterSizes)
Definition configimagetypes.cpp:158
void setBackdropSizes(QStringList newBackdropSizes)
Definition configimagetypes.cpp:119
void setBaseUrl(QString newBaseUrl)
Definition configimagetypes.cpp:132
QStringList profileSizes() const
Definition configimagetypes.cpp:169
bool profileSizesNull() const
Definition configimagetypes.cpp:174
QStringList backdropSizes() const
Definition configimagetypes.cpp:117
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
Jellyfin::DTO::ConfigImageTypes ConfigImageTypes
Definition configimagetypes.h:131
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45