Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <channelfeatures.h>
Public Member Functions | |
ChannelFeatures (bool canSearch, bool supportsSortOrderToggle, bool supportsLatestMedia, bool canFilter, bool supportsContentDownloading) | |
ChannelFeatures (const ChannelFeatures &other) | |
void | replaceData (ChannelFeatures &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
QString | name () const |
Gets or sets the name. | |
void | setName (QString newName) |
Gets or sets the name. | |
bool | nameNull () const |
void | setNameNull () |
QString | jellyfinId () const |
Gets or sets the identifier. | |
void | setJellyfinId (QString newJellyfinId) |
Gets or sets the identifier. | |
bool | jellyfinIdNull () const |
void | setJellyfinIdNull () |
bool | canSearch () const |
Gets or sets a value indicating whether this instance can search. | |
void | setCanSearch (bool newCanSearch) |
Gets or sets a value indicating whether this instance can search. | |
QList< ChannelMediaType > | mediaTypes () const |
Gets or sets the media types. | |
void | setMediaTypes (QList< ChannelMediaType > newMediaTypes) |
Gets or sets the media types. | |
bool | mediaTypesNull () const |
void | setMediaTypesNull () |
QList< ChannelMediaContentType > | contentTypes () const |
Gets or sets the content types. | |
void | setContentTypes (QList< ChannelMediaContentType > newContentTypes) |
Gets or sets the content types. | |
bool | contentTypesNull () const |
void | setContentTypesNull () |
std::optional< qint32 > | maxPageSize () const |
Represents the maximum number of records the channel allows retrieving at a time. | |
void | setMaxPageSize (std::optional< qint32 > newMaxPageSize) |
Represents the maximum number of records the channel allows retrieving at a time. | |
bool | maxPageSizeNull () const |
void | setMaxPageSizeNull () |
std::optional< qint32 > | autoRefreshLevels () const |
Gets or sets the automatic refresh levels. | |
void | setAutoRefreshLevels (std::optional< qint32 > newAutoRefreshLevels) |
Gets or sets the automatic refresh levels. | |
bool | autoRefreshLevelsNull () const |
void | setAutoRefreshLevelsNull () |
QList< ChannelItemSortField > | defaultSortFields () const |
Gets or sets the default sort orders. | |
void | setDefaultSortFields (QList< ChannelItemSortField > newDefaultSortFields) |
Gets or sets the default sort orders. | |
bool | defaultSortFieldsNull () const |
void | setDefaultSortFieldsNull () |
bool | supportsSortOrderToggle () const |
Indicates if a sort ascending/descending toggle is supported or not. | |
void | setSupportsSortOrderToggle (bool newSupportsSortOrderToggle) |
Indicates if a sort ascending/descending toggle is supported or not. | |
bool | supportsLatestMedia () const |
Gets or sets a value indicating whether [supports latest media]. | |
void | setSupportsLatestMedia (bool newSupportsLatestMedia) |
Gets or sets a value indicating whether [supports latest media]. | |
bool | canFilter () const |
Gets or sets a value indicating whether this instance can filter. | |
void | setCanFilter (bool newCanFilter) |
Gets or sets a value indicating whether this instance can filter. | |
bool | supportsContentDownloading () const |
Gets or sets a value indicating whether [supports content downloading]. | |
void | setSupportsContentDownloading (bool newSupportsContentDownloading) |
Gets or sets a value indicating whether [supports content downloading]. | |
Static Public Member Functions | |
static ChannelFeatures | fromJson (QJsonObject source) |
Protected Attributes | |
QString | m_name |
QString | m_jellyfinId |
bool | m_canSearch |
QList< ChannelMediaType > | m_mediaTypes |
QList< ChannelMediaContentType > | m_contentTypes |
std::optional< qint32 > | m_maxPageSize = std::nullopt |
std::optional< qint32 > | m_autoRefreshLevels = std::nullopt |
QList< ChannelItemSortField > | m_defaultSortFields |
bool | m_supportsSortOrderToggle |
bool | m_supportsLatestMedia |
bool | m_canFilter |
bool | m_supportsContentDownloading |
Jellyfin::DTO::ChannelFeatures::ChannelFeatures | ( | bool | canSearch, |
bool | supportsSortOrderToggle, | ||
bool | supportsLatestMedia, | ||
bool | canFilter, | ||
bool | supportsContentDownloading ) |
Jellyfin::DTO::ChannelFeatures::ChannelFeatures | ( | const ChannelFeatures & | other | ) |
std::optional< qint32 > Jellyfin::DTO::ChannelFeatures::autoRefreshLevels | ( | ) | const |
Gets or sets the automatic refresh levels.
bool Jellyfin::DTO::ChannelFeatures::autoRefreshLevelsNull | ( | ) | const |
bool Jellyfin::DTO::ChannelFeatures::canFilter | ( | ) | const |
Gets or sets a value indicating whether this instance can filter.
bool Jellyfin::DTO::ChannelFeatures::canSearch | ( | ) | const |
Gets or sets a value indicating whether this instance can search.
QList< ChannelMediaContentType > Jellyfin::DTO::ChannelFeatures::contentTypes | ( | ) | const |
Gets or sets the content types.
bool Jellyfin::DTO::ChannelFeatures::contentTypesNull | ( | ) | const |
QList< ChannelItemSortField > Jellyfin::DTO::ChannelFeatures::defaultSortFields | ( | ) | const |
Gets or sets the default sort orders.
bool Jellyfin::DTO::ChannelFeatures::defaultSortFieldsNull | ( | ) | const |
|
static |
QString Jellyfin::DTO::ChannelFeatures::jellyfinId | ( | ) | const |
Gets or sets the identifier.
bool Jellyfin::DTO::ChannelFeatures::jellyfinIdNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::ChannelFeatures::maxPageSize | ( | ) | const |
Represents the maximum number of records the channel allows retrieving at a time.
bool Jellyfin::DTO::ChannelFeatures::maxPageSizeNull | ( | ) | const |
QList< ChannelMediaType > Jellyfin::DTO::ChannelFeatures::mediaTypes | ( | ) | const |
Gets or sets the media types.
bool Jellyfin::DTO::ChannelFeatures::mediaTypesNull | ( | ) | const |
QString Jellyfin::DTO::ChannelFeatures::name | ( | ) | const |
Gets or sets the name.
bool Jellyfin::DTO::ChannelFeatures::nameNull | ( | ) | const |
void Jellyfin::DTO::ChannelFeatures::replaceData | ( | ChannelFeatures & | other | ) |
Replaces the data being hold by this class with that of the other.
void Jellyfin::DTO::ChannelFeatures::setAutoRefreshLevels | ( | std::optional< qint32 > | newAutoRefreshLevels | ) |
Gets or sets the automatic refresh levels.
void Jellyfin::DTO::ChannelFeatures::setAutoRefreshLevelsNull | ( | ) |
void Jellyfin::DTO::ChannelFeatures::setCanFilter | ( | bool | newCanFilter | ) |
Gets or sets a value indicating whether this instance can filter.
void Jellyfin::DTO::ChannelFeatures::setCanSearch | ( | bool | newCanSearch | ) |
Gets or sets a value indicating whether this instance can search.
void Jellyfin::DTO::ChannelFeatures::setContentTypes | ( | QList< ChannelMediaContentType > | newContentTypes | ) |
Gets or sets the content types.
void Jellyfin::DTO::ChannelFeatures::setContentTypesNull | ( | ) |
void Jellyfin::DTO::ChannelFeatures::setDefaultSortFields | ( | QList< ChannelItemSortField > | newDefaultSortFields | ) |
Gets or sets the default sort orders.
void Jellyfin::DTO::ChannelFeatures::setDefaultSortFieldsNull | ( | ) |
void Jellyfin::DTO::ChannelFeatures::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::ChannelFeatures::setJellyfinId | ( | QString | newJellyfinId | ) |
Gets or sets the identifier.
void Jellyfin::DTO::ChannelFeatures::setJellyfinIdNull | ( | ) |
void Jellyfin::DTO::ChannelFeatures::setMaxPageSize | ( | std::optional< qint32 > | newMaxPageSize | ) |
Represents the maximum number of records the channel allows retrieving at a time.
void Jellyfin::DTO::ChannelFeatures::setMaxPageSizeNull | ( | ) |
void Jellyfin::DTO::ChannelFeatures::setMediaTypes | ( | QList< ChannelMediaType > | newMediaTypes | ) |
Gets or sets the media types.
void Jellyfin::DTO::ChannelFeatures::setMediaTypesNull | ( | ) |
void Jellyfin::DTO::ChannelFeatures::setName | ( | QString | newName | ) |
Gets or sets the name.
void Jellyfin::DTO::ChannelFeatures::setNameNull | ( | ) |
void Jellyfin::DTO::ChannelFeatures::setSupportsContentDownloading | ( | bool | newSupportsContentDownloading | ) |
Gets or sets a value indicating whether [supports content downloading].
void Jellyfin::DTO::ChannelFeatures::setSupportsLatestMedia | ( | bool | newSupportsLatestMedia | ) |
Gets or sets a value indicating whether [supports latest media].
void Jellyfin::DTO::ChannelFeatures::setSupportsSortOrderToggle | ( | bool | newSupportsSortOrderToggle | ) |
Indicates if a sort ascending/descending toggle is supported or not.
bool Jellyfin::DTO::ChannelFeatures::supportsContentDownloading | ( | ) | const |
Gets or sets a value indicating whether [supports content downloading].
bool Jellyfin::DTO::ChannelFeatures::supportsLatestMedia | ( | ) | const |
Gets or sets a value indicating whether [supports latest media].
bool Jellyfin::DTO::ChannelFeatures::supportsSortOrderToggle | ( | ) | const |
Indicates if a sort ascending/descending toggle is supported or not.
QJsonObject Jellyfin::DTO::ChannelFeatures::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |