Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::ChannelFeatures Class Reference

#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< ChannelMediaTypemediaTypes () const
 Gets or sets the media types.
 
void setMediaTypes (QList< ChannelMediaType > newMediaTypes)
 Gets or sets the media types.
 
bool mediaTypesNull () const
 
void setMediaTypesNull ()
 
QList< ChannelMediaContentTypecontentTypes () 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< ChannelItemSortFielddefaultSortFields () 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< ChannelMediaTypem_mediaTypes
 
QList< ChannelMediaContentTypem_contentTypes
 
std::optional< qint32 > m_maxPageSize = std::nullopt
 
std::optional< qint32 > m_autoRefreshLevels = std::nullopt
 
QList< ChannelItemSortFieldm_defaultSortFields
 
bool m_supportsSortOrderToggle
 
bool m_supportsLatestMedia
 
bool m_canFilter
 
bool m_supportsContentDownloading
 

Constructor & Destructor Documentation

◆ ChannelFeatures() [1/2]

Jellyfin::DTO::ChannelFeatures::ChannelFeatures ( bool canSearch,
bool supportsSortOrderToggle,
bool supportsLatestMedia,
bool canFilter,
bool supportsContentDownloading )

◆ ChannelFeatures() [2/2]

Jellyfin::DTO::ChannelFeatures::ChannelFeatures ( const ChannelFeatures & other)

Member Function Documentation

◆ autoRefreshLevels()

std::optional< qint32 > Jellyfin::DTO::ChannelFeatures::autoRefreshLevels ( ) const

Gets or sets the automatic refresh levels.

◆ autoRefreshLevelsNull()

bool Jellyfin::DTO::ChannelFeatures::autoRefreshLevelsNull ( ) const

◆ canFilter()

bool Jellyfin::DTO::ChannelFeatures::canFilter ( ) const

Gets or sets a value indicating whether this instance can filter.

◆ canSearch()

bool Jellyfin::DTO::ChannelFeatures::canSearch ( ) const

Gets or sets a value indicating whether this instance can search.

◆ contentTypes()

QList< ChannelMediaContentType > Jellyfin::DTO::ChannelFeatures::contentTypes ( ) const

Gets or sets the content types.

◆ contentTypesNull()

bool Jellyfin::DTO::ChannelFeatures::contentTypesNull ( ) const

◆ defaultSortFields()

QList< ChannelItemSortField > Jellyfin::DTO::ChannelFeatures::defaultSortFields ( ) const

Gets or sets the default sort orders.

◆ defaultSortFieldsNull()

bool Jellyfin::DTO::ChannelFeatures::defaultSortFieldsNull ( ) const

◆ fromJson()

ChannelFeatures Jellyfin::DTO::ChannelFeatures::fromJson ( QJsonObject source)
static

◆ jellyfinId()

QString Jellyfin::DTO::ChannelFeatures::jellyfinId ( ) const

Gets or sets the identifier.

◆ jellyfinIdNull()

bool Jellyfin::DTO::ChannelFeatures::jellyfinIdNull ( ) const

◆ maxPageSize()

std::optional< qint32 > Jellyfin::DTO::ChannelFeatures::maxPageSize ( ) const

Represents the maximum number of records the channel allows retrieving at a time.

◆ maxPageSizeNull()

bool Jellyfin::DTO::ChannelFeatures::maxPageSizeNull ( ) const

◆ mediaTypes()

QList< ChannelMediaType > Jellyfin::DTO::ChannelFeatures::mediaTypes ( ) const

Gets or sets the media types.

◆ mediaTypesNull()

bool Jellyfin::DTO::ChannelFeatures::mediaTypesNull ( ) const

◆ name()

QString Jellyfin::DTO::ChannelFeatures::name ( ) const

Gets or sets the name.

◆ nameNull()

bool Jellyfin::DTO::ChannelFeatures::nameNull ( ) const

◆ replaceData()

void Jellyfin::DTO::ChannelFeatures::replaceData ( ChannelFeatures & other)

Replaces the data being hold by this class with that of the other.

◆ setAutoRefreshLevels()

void Jellyfin::DTO::ChannelFeatures::setAutoRefreshLevels ( std::optional< qint32 > newAutoRefreshLevels)

Gets or sets the automatic refresh levels.

◆ setAutoRefreshLevelsNull()

void Jellyfin::DTO::ChannelFeatures::setAutoRefreshLevelsNull ( )

◆ setCanFilter()

void Jellyfin::DTO::ChannelFeatures::setCanFilter ( bool newCanFilter)

Gets or sets a value indicating whether this instance can filter.

◆ setCanSearch()

void Jellyfin::DTO::ChannelFeatures::setCanSearch ( bool newCanSearch)

Gets or sets a value indicating whether this instance can search.

◆ setContentTypes()

void Jellyfin::DTO::ChannelFeatures::setContentTypes ( QList< ChannelMediaContentType > newContentTypes)

Gets or sets the content types.

◆ setContentTypesNull()

void Jellyfin::DTO::ChannelFeatures::setContentTypesNull ( )

◆ setDefaultSortFields()

void Jellyfin::DTO::ChannelFeatures::setDefaultSortFields ( QList< ChannelItemSortField > newDefaultSortFields)

Gets or sets the default sort orders.

◆ setDefaultSortFieldsNull()

void Jellyfin::DTO::ChannelFeatures::setDefaultSortFieldsNull ( )

◆ setFromJson()

void Jellyfin::DTO::ChannelFeatures::setFromJson ( QJsonObject source)

◆ setJellyfinId()

void Jellyfin::DTO::ChannelFeatures::setJellyfinId ( QString newJellyfinId)

Gets or sets the identifier.

◆ setJellyfinIdNull()

void Jellyfin::DTO::ChannelFeatures::setJellyfinIdNull ( )

◆ setMaxPageSize()

void Jellyfin::DTO::ChannelFeatures::setMaxPageSize ( std::optional< qint32 > newMaxPageSize)

Represents the maximum number of records the channel allows retrieving at a time.

◆ setMaxPageSizeNull()

void Jellyfin::DTO::ChannelFeatures::setMaxPageSizeNull ( )

◆ setMediaTypes()

void Jellyfin::DTO::ChannelFeatures::setMediaTypes ( QList< ChannelMediaType > newMediaTypes)

Gets or sets the media types.

◆ setMediaTypesNull()

void Jellyfin::DTO::ChannelFeatures::setMediaTypesNull ( )

◆ setName()

void Jellyfin::DTO::ChannelFeatures::setName ( QString newName)

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::ChannelFeatures::setNameNull ( )

◆ setSupportsContentDownloading()

void Jellyfin::DTO::ChannelFeatures::setSupportsContentDownloading ( bool newSupportsContentDownloading)

Gets or sets a value indicating whether [supports content downloading].

◆ setSupportsLatestMedia()

void Jellyfin::DTO::ChannelFeatures::setSupportsLatestMedia ( bool newSupportsLatestMedia)

Gets or sets a value indicating whether [supports latest media].

◆ setSupportsSortOrderToggle()

void Jellyfin::DTO::ChannelFeatures::setSupportsSortOrderToggle ( bool newSupportsSortOrderToggle)

Indicates if a sort ascending/descending toggle is supported or not.

◆ supportsContentDownloading()

bool Jellyfin::DTO::ChannelFeatures::supportsContentDownloading ( ) const

Gets or sets a value indicating whether [supports content downloading].

◆ supportsLatestMedia()

bool Jellyfin::DTO::ChannelFeatures::supportsLatestMedia ( ) const

Gets or sets a value indicating whether [supports latest media].

◆ supportsSortOrderToggle()

bool Jellyfin::DTO::ChannelFeatures::supportsSortOrderToggle ( ) const

Indicates if a sort ascending/descending toggle is supported or not.

◆ toJson()

QJsonObject Jellyfin::DTO::ChannelFeatures::toJson ( ) const

Member Data Documentation

◆ m_autoRefreshLevels

std::optional<qint32> Jellyfin::DTO::ChannelFeatures::m_autoRefreshLevels = std::nullopt
protected

◆ m_canFilter

bool Jellyfin::DTO::ChannelFeatures::m_canFilter
protected

◆ m_canSearch

bool Jellyfin::DTO::ChannelFeatures::m_canSearch
protected

◆ m_contentTypes

QList<ChannelMediaContentType> Jellyfin::DTO::ChannelFeatures::m_contentTypes
protected

◆ m_defaultSortFields

QList<ChannelItemSortField> Jellyfin::DTO::ChannelFeatures::m_defaultSortFields
protected

◆ m_jellyfinId

QString Jellyfin::DTO::ChannelFeatures::m_jellyfinId
protected

◆ m_maxPageSize

std::optional<qint32> Jellyfin::DTO::ChannelFeatures::m_maxPageSize = std::nullopt
protected

◆ m_mediaTypes

QList<ChannelMediaType> Jellyfin::DTO::ChannelFeatures::m_mediaTypes
protected

◆ m_name

QString Jellyfin::DTO::ChannelFeatures::m_name
protected

◆ m_supportsContentDownloading

bool Jellyfin::DTO::ChannelFeatures::m_supportsContentDownloading
protected

◆ m_supportsLatestMedia

bool Jellyfin::DTO::ChannelFeatures::m_supportsLatestMedia
protected

◆ m_supportsSortOrderToggle

bool Jellyfin::DTO::ChannelFeatures::m_supportsSortOrderToggle
protected

The documentation for this class was generated from the following files: