30#ifndef JELLYFIN_DTO_CHANNELFEATURES_H
31#define JELLYFIN_DTO_CHANNELFEATURES_H
72 QJsonObject
toJson()
const;
Definition channelfeatures.h:53
void setCanFilter(bool newCanFilter)
Gets or sets a value indicating whether this instance can filter.
Definition channelfeatures.cpp:262
void setSupportsLatestMedia(bool newSupportsLatestMedia)
Gets or sets a value indicating whether [supports latest media].
Definition channelfeatures.cpp:256
void setSupportsContentDownloading(bool newSupportsContentDownloading)
Gets or sets a value indicating whether [supports content downloading].
Definition channelfeatures.cpp:268
void setContentTypes(QList< ChannelMediaContentType > newContentTypes)
Gets or sets the content types.
Definition channelfeatures.cpp:198
std::optional< qint32 > m_autoRefreshLevels
Definition channelfeatures.h:205
void setFromJson(QJsonObject source)
Definition channelfeatures.cpp:89
void setJellyfinIdNull()
Definition channelfeatures.cpp:173
bool m_canSearch
Definition channelfeatures.h:201
bool m_supportsLatestMedia
Definition channelfeatures.h:208
void setDefaultSortFields(QList< ChannelItemSortField > newDefaultSortFields)
Gets or sets the default sort orders.
Definition channelfeatures.cpp:237
void replaceData(ChannelFeatures &other)
Definition channelfeatures.cpp:67
QList< ChannelMediaContentType > contentTypes() const
Gets or sets the content types.
Definition channelfeatures.cpp:196
std::optional< qint32 > m_maxPageSize
Definition channelfeatures.h:204
void setName(QString newName)
Gets or sets the name.
Definition channelfeatures.cpp:153
QList< ChannelMediaType > mediaTypes() const
Gets or sets the media types.
Definition channelfeatures.cpp:183
QString m_name
Definition channelfeatures.h:199
bool jellyfinIdNull() const
Definition channelfeatures.cpp:169
bool contentTypesNull() const
Definition channelfeatures.cpp:201
bool m_supportsSortOrderToggle
Definition channelfeatures.h:207
void setAutoRefreshLevelsNull()
Definition channelfeatures.cpp:231
void setContentTypesNull()
Definition channelfeatures.cpp:205
bool mediaTypesNull() const
Definition channelfeatures.cpp:188
void setCanSearch(bool newCanSearch)
Gets or sets a value indicating whether this instance can search.
Definition channelfeatures.cpp:179
bool supportsContentDownloading() const
Gets or sets a value indicating whether [supports content downloading].
Definition channelfeatures.cpp:266
QList< ChannelItemSortField > m_defaultSortFields
Definition channelfeatures.h:206
void setMediaTypesNull()
Definition channelfeatures.cpp:192
bool canFilter() const
Gets or sets a value indicating whether this instance can filter.
Definition channelfeatures.cpp:260
bool supportsSortOrderToggle() const
Indicates if a sort ascending/descending toggle is supported or not.
Definition channelfeatures.cpp:248
bool maxPageSizeNull() const
Definition channelfeatures.cpp:214
bool defaultSortFieldsNull() const
Definition channelfeatures.cpp:240
bool autoRefreshLevelsNull() const
Definition channelfeatures.cpp:227
static ChannelFeatures fromJson(QJsonObject source)
Definition channelfeatures.cpp:82
bool supportsLatestMedia() const
Gets or sets a value indicating whether [supports latest media].
Definition channelfeatures.cpp:254
QString jellyfinId() const
Gets or sets the identifier.
Definition channelfeatures.cpp:164
void setMaxPageSizeNull()
Definition channelfeatures.cpp:218
std::optional< qint32 > autoRefreshLevels() const
Gets or sets the automatic refresh levels.
Definition channelfeatures.cpp:222
QString name() const
Gets or sets the name.
Definition channelfeatures.cpp:151
QList< ChannelItemSortField > defaultSortFields() const
Gets or sets the default sort orders.
Definition channelfeatures.cpp:235
bool m_supportsContentDownloading
Definition channelfeatures.h:210
void setAutoRefreshLevels(std::optional< qint32 > newAutoRefreshLevels)
Gets or sets the automatic refresh levels.
Definition channelfeatures.cpp:224
void setMediaTypes(QList< ChannelMediaType > newMediaTypes)
Gets or sets the media types.
Definition channelfeatures.cpp:185
void setDefaultSortFieldsNull()
Definition channelfeatures.cpp:244
bool m_canFilter
Definition channelfeatures.h:209
QList< ChannelMediaType > m_mediaTypes
Definition channelfeatures.h:202
std::optional< qint32 > maxPageSize() const
Represents the maximum number of records the channel allows retrieving at a time.
Definition channelfeatures.cpp:209
QString m_jellyfinId
Definition channelfeatures.h:200
bool canSearch() const
Gets or sets a value indicating whether this instance can search.
Definition channelfeatures.cpp:177
void setJellyfinId(QString newJellyfinId)
Gets or sets the identifier.
Definition channelfeatures.cpp:166
void setNameNull()
Definition channelfeatures.cpp:160
bool nameNull() const
Definition channelfeatures.cpp:156
QJsonObject toJson() const
Definition channelfeatures.cpp:105
void setSupportsSortOrderToggle(bool newSupportsSortOrderToggle)
Indicates if a sort ascending/descending toggle is supported or not.
Definition channelfeatures.cpp:250
QList< ChannelMediaContentType > m_contentTypes
Definition channelfeatures.h:203
void setMaxPageSize(std::optional< qint32 > newMaxPageSize)
Represents the maximum number of records the channel allows retrieving at a time.
Definition channelfeatures.cpp:211
Definition mediaplayer2.h:20
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