30#ifndef JELLYFIN_DTO_CHANNELFEATURES_H
31#define JELLYFIN_DTO_CHANNELFEATURES_H
77 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition channelfeatures.h:53
void setCanFilter(bool newCanFilter)
Gets or sets a value indicating whether this instance can filter.
Definition channelfeatures.cpp:217
void setSupportsLatestMedia(bool newSupportsLatestMedia)
Gets or sets a value indicating whether [supports latest media].
Definition channelfeatures.cpp:211
void setSupportsContentDownloading(bool newSupportsContentDownloading)
Gets or sets a value indicating whether [supports content downloading].
Definition channelfeatures.cpp:223
void setContentTypes(QList< ChannelMediaContentType > newContentTypes)
Gets or sets the content types.
Definition channelfeatures.cpp:167
std::optional< qint32 > m_autoRefreshLevels
Definition channelfeatures.h:200
void setFromJson(QJsonObject source)
Definition channelfeatures.cpp:99
bool m_canSearch
Definition channelfeatures.h:196
bool m_supportsLatestMedia
Definition channelfeatures.h:203
void setDefaultSortFields(QList< ChannelItemSortField > newDefaultSortFields)
Gets or sets the default sort orders.
Definition channelfeatures.cpp:199
void replaceData(ChannelFeatures &other)
Definition channelfeatures.cpp:77
QList< ChannelMediaContentType > contentTypes() const
Gets or sets the content types.
Definition channelfeatures.cpp:165
std::optional< qint32 > m_maxPageSize
Definition channelfeatures.h:199
void setName(QString newName)
Gets or sets the name.
Definition channelfeatures.cpp:143
QList< ChannelMediaType > mediaTypes() const
Gets or sets the media types.
Definition channelfeatures.cpp:159
QString m_name
Definition channelfeatures.h:194
bool m_supportsSortOrderToggle
Definition channelfeatures.h:202
void setAutoRefreshLevelsNull()
Definition channelfeatures.cpp:193
void setCanSearch(bool newCanSearch)
Gets or sets a value indicating whether this instance can search.
Definition channelfeatures.cpp:155
bool supportsContentDownloading() const
Gets or sets a value indicating whether [supports content downloading].
Definition channelfeatures.cpp:221
QList< ChannelItemSortField > m_defaultSortFields
Definition channelfeatures.h:201
bool canFilter() const
Gets or sets a value indicating whether this instance can filter.
Definition channelfeatures.cpp:215
bool supportsSortOrderToggle() const
Gets or sets a value indicating whether a sort ascending/descending toggle is supported.
Definition channelfeatures.cpp:203
bool maxPageSizeNull() const
Definition channelfeatures.cpp:176
bool autoRefreshLevelsNull() const
Definition channelfeatures.cpp:189
static ChannelFeatures fromJson(QJsonObject source)
Definition channelfeatures.cpp:92
bool supportsLatestMedia() const
Gets or sets a value indicating whether [supports latest media].
Definition channelfeatures.cpp:209
QString jellyfinId() const
Gets or sets the identifier.
Definition channelfeatures.cpp:147
void setMaxPageSizeNull()
Definition channelfeatures.cpp:180
std::optional< qint32 > autoRefreshLevels() const
Gets or sets the automatic refresh levels.
Definition channelfeatures.cpp:184
QString name() const
Gets or sets the name.
Definition channelfeatures.cpp:141
QList< ChannelItemSortField > defaultSortFields() const
Gets or sets the default sort orders.
Definition channelfeatures.cpp:197
ChannelFeatures(QString name, QString jellyfinId, bool canSearch, QList< ChannelMediaType > mediaTypes, QList< ChannelMediaContentType > contentTypes, QList< ChannelItemSortField > defaultSortFields, bool supportsSortOrderToggle, bool supportsLatestMedia, bool canFilter, bool supportsContentDownloading)
Definition channelfeatures.cpp:36
bool m_supportsContentDownloading
Definition channelfeatures.h:205
void setAutoRefreshLevels(std::optional< qint32 > newAutoRefreshLevels)
Gets or sets the automatic refresh levels.
Definition channelfeatures.cpp:186
void setMediaTypes(QList< ChannelMediaType > newMediaTypes)
Gets or sets the media types.
Definition channelfeatures.cpp:161
bool m_canFilter
Definition channelfeatures.h:204
QList< ChannelMediaType > m_mediaTypes
Definition channelfeatures.h:197
std::optional< qint32 > maxPageSize() const
Gets or sets the maximum number of records the channel allows retrieving at a time.
Definition channelfeatures.cpp:171
QString m_jellyfinId
Definition channelfeatures.h:195
bool canSearch() const
Gets or sets a value indicating whether this instance can search.
Definition channelfeatures.cpp:153
void setJellyfinId(QString newJellyfinId)
Gets or sets the identifier.
Definition channelfeatures.cpp:149
QJsonObject toJson() const
Definition channelfeatures.cpp:115
void setSupportsSortOrderToggle(bool newSupportsSortOrderToggle)
Gets or sets a value indicating whether a sort ascending/descending toggle is supported.
Definition channelfeatures.cpp:205
QList< ChannelMediaContentType > m_contentTypes
Definition channelfeatures.h:198
void setMaxPageSize(std::optional< qint32 > newMaxPageSize)
Gets or sets the maximum number of records the channel allows retrieving at a time.
Definition channelfeatures.cpp:173
Definition mediaplayer2.h:20
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::ChannelFeatures ChannelFeatures
Definition channelfeatures.h:217
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45