Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <searchhint.h>
Public Member Functions | |
SearchHint (QString itemId, QString jellyfinId, QString albumId, QString channelId) | |
SearchHint (const SearchHint &other) | |
void | replaceData (SearchHint &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
QString | itemId () const |
Gets or sets the item id. | |
void | setItemId (QString newItemId) |
Gets or sets the item id. | |
QString | jellyfinId () const |
void | setJellyfinId (QString newJellyfinId) |
QString | name () const |
Gets or sets the name. | |
void | setName (QString newName) |
Gets or sets the name. | |
bool | nameNull () const |
void | setNameNull () |
QString | matchedTerm () const |
Gets or sets the matched term. | |
void | setMatchedTerm (QString newMatchedTerm) |
Gets or sets the matched term. | |
bool | matchedTermNull () const |
void | setMatchedTermNull () |
std::optional< qint32 > | indexNumber () const |
Gets or sets the index number. | |
void | setIndexNumber (std::optional< qint32 > newIndexNumber) |
Gets or sets the index number. | |
bool | indexNumberNull () const |
void | setIndexNumberNull () |
std::optional< qint32 > | productionYear () const |
Gets or sets the production year. | |
void | setProductionYear (std::optional< qint32 > newProductionYear) |
Gets or sets the production year. | |
bool | productionYearNull () const |
void | setProductionYearNull () |
std::optional< qint32 > | parentIndexNumber () const |
Gets or sets the parent index number. | |
void | setParentIndexNumber (std::optional< qint32 > newParentIndexNumber) |
Gets or sets the parent index number. | |
bool | parentIndexNumberNull () const |
void | setParentIndexNumberNull () |
QString | primaryImageTag () const |
Gets or sets the image tag. | |
void | setPrimaryImageTag (QString newPrimaryImageTag) |
Gets or sets the image tag. | |
bool | primaryImageTagNull () const |
void | setPrimaryImageTagNull () |
QString | thumbImageTag () const |
Gets or sets the thumb image tag. | |
void | setThumbImageTag (QString newThumbImageTag) |
Gets or sets the thumb image tag. | |
bool | thumbImageTagNull () const |
void | setThumbImageTagNull () |
QString | thumbImageItemId () const |
Gets or sets the thumb image item identifier. | |
void | setThumbImageItemId (QString newThumbImageItemId) |
Gets or sets the thumb image item identifier. | |
bool | thumbImageItemIdNull () const |
void | setThumbImageItemIdNull () |
QString | backdropImageTag () const |
Gets or sets the backdrop image tag. | |
void | setBackdropImageTag (QString newBackdropImageTag) |
Gets or sets the backdrop image tag. | |
bool | backdropImageTagNull () const |
void | setBackdropImageTagNull () |
QString | backdropImageItemId () const |
Gets or sets the backdrop image item identifier. | |
void | setBackdropImageItemId (QString newBackdropImageItemId) |
Gets or sets the backdrop image item identifier. | |
bool | backdropImageItemIdNull () const |
void | setBackdropImageItemIdNull () |
QString | type () const |
Gets or sets the type. | |
void | setType (QString newType) |
Gets or sets the type. | |
bool | typeNull () const |
void | setTypeNull () |
std::optional< bool > | isFolder () const |
void | setIsFolder (std::optional< bool > newIsFolder) |
bool | isFolderNull () const |
void | setIsFolderNull () |
std::optional< qint64 > | runTimeTicks () const |
Gets or sets the run time ticks. | |
void | setRunTimeTicks (std::optional< qint64 > newRunTimeTicks) |
Gets or sets the run time ticks. | |
bool | runTimeTicksNull () const |
void | setRunTimeTicksNull () |
QString | mediaType () const |
Gets or sets the type of the media. | |
void | setMediaType (QString newMediaType) |
Gets or sets the type of the media. | |
bool | mediaTypeNull () const |
void | setMediaTypeNull () |
QDateTime | startDate () const |
void | setStartDate (QDateTime newStartDate) |
bool | startDateNull () const |
void | setStartDateNull () |
QDateTime | endDate () const |
void | setEndDate (QDateTime newEndDate) |
bool | endDateNull () const |
void | setEndDateNull () |
QString | series () const |
Gets or sets the series. | |
void | setSeries (QString newSeries) |
Gets or sets the series. | |
bool | seriesNull () const |
void | setSeriesNull () |
QString | status () const |
void | setStatus (QString newStatus) |
bool | statusNull () const |
void | setStatusNull () |
QString | album () const |
Gets or sets the album. | |
void | setAlbum (QString newAlbum) |
Gets or sets the album. | |
bool | albumNull () const |
void | setAlbumNull () |
QString | albumId () const |
void | setAlbumId (QString newAlbumId) |
QString | albumArtist () const |
Gets or sets the album artist. | |
void | setAlbumArtist (QString newAlbumArtist) |
Gets or sets the album artist. | |
bool | albumArtistNull () const |
void | setAlbumArtistNull () |
QStringList | artists () const |
Gets or sets the artists. | |
void | setArtists (QStringList newArtists) |
Gets or sets the artists. | |
bool | artistsNull () const |
void | setArtistsNull () |
std::optional< qint32 > | songCount () const |
Gets or sets the song count. | |
void | setSongCount (std::optional< qint32 > newSongCount) |
Gets or sets the song count. | |
bool | songCountNull () const |
void | setSongCountNull () |
std::optional< qint32 > | episodeCount () const |
Gets or sets the episode count. | |
void | setEpisodeCount (std::optional< qint32 > newEpisodeCount) |
Gets or sets the episode count. | |
bool | episodeCountNull () const |
void | setEpisodeCountNull () |
QString | channelId () const |
Gets or sets the channel identifier. | |
void | setChannelId (QString newChannelId) |
Gets or sets the channel identifier. | |
QString | channelName () const |
Gets or sets the name of the channel. | |
void | setChannelName (QString newChannelName) |
Gets or sets the name of the channel. | |
bool | channelNameNull () const |
void | setChannelNameNull () |
std::optional< double > | primaryImageAspectRatio () const |
Gets or sets the primary image aspect ratio. | |
void | setPrimaryImageAspectRatio (std::optional< double > newPrimaryImageAspectRatio) |
Gets or sets the primary image aspect ratio. | |
bool | primaryImageAspectRatioNull () const |
void | setPrimaryImageAspectRatioNull () |
Static Public Member Functions | |
static SearchHint | fromJson (QJsonObject source) |
Protected Attributes | |
QString | m_itemId |
QString | m_jellyfinId |
QString | m_name |
QString | m_matchedTerm |
std::optional< qint32 > | m_indexNumber = std::nullopt |
std::optional< qint32 > | m_productionYear = std::nullopt |
std::optional< qint32 > | m_parentIndexNumber = std::nullopt |
QString | m_primaryImageTag |
QString | m_thumbImageTag |
QString | m_thumbImageItemId |
QString | m_backdropImageTag |
QString | m_backdropImageItemId |
QString | m_type |
std::optional< bool > | m_isFolder = std::nullopt |
std::optional< qint64 > | m_runTimeTicks = std::nullopt |
QString | m_mediaType |
QDateTime | m_startDate |
QDateTime | m_endDate |
QString | m_series |
QString | m_status |
QString | m_album |
QString | m_albumId |
QString | m_albumArtist |
QStringList | m_artists |
std::optional< qint32 > | m_songCount = std::nullopt |
std::optional< qint32 > | m_episodeCount = std::nullopt |
QString | m_channelId |
QString | m_channelName |
std::optional< double > | m_primaryImageAspectRatio = std::nullopt |
Jellyfin::DTO::SearchHint::SearchHint | ( | QString | itemId, |
QString | jellyfinId, | ||
QString | albumId, | ||
QString | channelId ) |
Jellyfin::DTO::SearchHint::SearchHint | ( | const SearchHint & | other | ) |
QString Jellyfin::DTO::SearchHint::album | ( | ) | const |
Gets or sets the album.
QString Jellyfin::DTO::SearchHint::albumArtist | ( | ) | const |
Gets or sets the album artist.
bool Jellyfin::DTO::SearchHint::albumArtistNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::albumId | ( | ) | const |
bool Jellyfin::DTO::SearchHint::albumNull | ( | ) | const |
QStringList Jellyfin::DTO::SearchHint::artists | ( | ) | const |
Gets or sets the artists.
bool Jellyfin::DTO::SearchHint::artistsNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::backdropImageItemId | ( | ) | const |
Gets or sets the backdrop image item identifier.
bool Jellyfin::DTO::SearchHint::backdropImageItemIdNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::backdropImageTag | ( | ) | const |
Gets or sets the backdrop image tag.
bool Jellyfin::DTO::SearchHint::backdropImageTagNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::channelId | ( | ) | const |
Gets or sets the channel identifier.
QString Jellyfin::DTO::SearchHint::channelName | ( | ) | const |
Gets or sets the name of the channel.
bool Jellyfin::DTO::SearchHint::channelNameNull | ( | ) | const |
QDateTime Jellyfin::DTO::SearchHint::endDate | ( | ) | const |
bool Jellyfin::DTO::SearchHint::endDateNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::SearchHint::episodeCount | ( | ) | const |
Gets or sets the episode count.
bool Jellyfin::DTO::SearchHint::episodeCountNull | ( | ) | const |
|
static |
std::optional< qint32 > Jellyfin::DTO::SearchHint::indexNumber | ( | ) | const |
Gets or sets the index number.
bool Jellyfin::DTO::SearchHint::indexNumberNull | ( | ) | const |
std::optional< bool > Jellyfin::DTO::SearchHint::isFolder | ( | ) | const |
bool Jellyfin::DTO::SearchHint::isFolderNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::itemId | ( | ) | const |
Gets or sets the item id.
QString Jellyfin::DTO::SearchHint::jellyfinId | ( | ) | const |
QString Jellyfin::DTO::SearchHint::matchedTerm | ( | ) | const |
Gets or sets the matched term.
bool Jellyfin::DTO::SearchHint::matchedTermNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::mediaType | ( | ) | const |
Gets or sets the type of the media.
bool Jellyfin::DTO::SearchHint::mediaTypeNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::name | ( | ) | const |
Gets or sets the name.
bool Jellyfin::DTO::SearchHint::nameNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::SearchHint::parentIndexNumber | ( | ) | const |
Gets or sets the parent index number.
bool Jellyfin::DTO::SearchHint::parentIndexNumberNull | ( | ) | const |
std::optional< double > Jellyfin::DTO::SearchHint::primaryImageAspectRatio | ( | ) | const |
Gets or sets the primary image aspect ratio.
bool Jellyfin::DTO::SearchHint::primaryImageAspectRatioNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::primaryImageTag | ( | ) | const |
Gets or sets the image tag.
bool Jellyfin::DTO::SearchHint::primaryImageTagNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::SearchHint::productionYear | ( | ) | const |
Gets or sets the production year.
bool Jellyfin::DTO::SearchHint::productionYearNull | ( | ) | const |
void Jellyfin::DTO::SearchHint::replaceData | ( | SearchHint & | other | ) |
Replaces the data being hold by this class with that of the other.
std::optional< qint64 > Jellyfin::DTO::SearchHint::runTimeTicks | ( | ) | const |
Gets or sets the run time ticks.
bool Jellyfin::DTO::SearchHint::runTimeTicksNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::series | ( | ) | const |
Gets or sets the series.
bool Jellyfin::DTO::SearchHint::seriesNull | ( | ) | const |
void Jellyfin::DTO::SearchHint::setAlbum | ( | QString | newAlbum | ) |
Gets or sets the album.
void Jellyfin::DTO::SearchHint::setAlbumArtist | ( | QString | newAlbumArtist | ) |
Gets or sets the album artist.
void Jellyfin::DTO::SearchHint::setAlbumArtistNull | ( | ) |
void Jellyfin::DTO::SearchHint::setAlbumId | ( | QString | newAlbumId | ) |
void Jellyfin::DTO::SearchHint::setAlbumNull | ( | ) |
void Jellyfin::DTO::SearchHint::setArtists | ( | QStringList | newArtists | ) |
Gets or sets the artists.
void Jellyfin::DTO::SearchHint::setArtistsNull | ( | ) |
void Jellyfin::DTO::SearchHint::setBackdropImageItemId | ( | QString | newBackdropImageItemId | ) |
Gets or sets the backdrop image item identifier.
void Jellyfin::DTO::SearchHint::setBackdropImageItemIdNull | ( | ) |
void Jellyfin::DTO::SearchHint::setBackdropImageTag | ( | QString | newBackdropImageTag | ) |
Gets or sets the backdrop image tag.
void Jellyfin::DTO::SearchHint::setBackdropImageTagNull | ( | ) |
void Jellyfin::DTO::SearchHint::setChannelId | ( | QString | newChannelId | ) |
Gets or sets the channel identifier.
void Jellyfin::DTO::SearchHint::setChannelName | ( | QString | newChannelName | ) |
Gets or sets the name of the channel.
void Jellyfin::DTO::SearchHint::setChannelNameNull | ( | ) |
void Jellyfin::DTO::SearchHint::setEndDate | ( | QDateTime | newEndDate | ) |
void Jellyfin::DTO::SearchHint::setEndDateNull | ( | ) |
void Jellyfin::DTO::SearchHint::setEpisodeCount | ( | std::optional< qint32 > | newEpisodeCount | ) |
Gets or sets the episode count.
void Jellyfin::DTO::SearchHint::setEpisodeCountNull | ( | ) |
void Jellyfin::DTO::SearchHint::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::SearchHint::setIndexNumber | ( | std::optional< qint32 > | newIndexNumber | ) |
Gets or sets the index number.
void Jellyfin::DTO::SearchHint::setIndexNumberNull | ( | ) |
void Jellyfin::DTO::SearchHint::setIsFolder | ( | std::optional< bool > | newIsFolder | ) |
void Jellyfin::DTO::SearchHint::setIsFolderNull | ( | ) |
void Jellyfin::DTO::SearchHint::setItemId | ( | QString | newItemId | ) |
Gets or sets the item id.
void Jellyfin::DTO::SearchHint::setJellyfinId | ( | QString | newJellyfinId | ) |
void Jellyfin::DTO::SearchHint::setMatchedTerm | ( | QString | newMatchedTerm | ) |
Gets or sets the matched term.
void Jellyfin::DTO::SearchHint::setMatchedTermNull | ( | ) |
void Jellyfin::DTO::SearchHint::setMediaType | ( | QString | newMediaType | ) |
Gets or sets the type of the media.
void Jellyfin::DTO::SearchHint::setMediaTypeNull | ( | ) |
void Jellyfin::DTO::SearchHint::setName | ( | QString | newName | ) |
Gets or sets the name.
void Jellyfin::DTO::SearchHint::setNameNull | ( | ) |
void Jellyfin::DTO::SearchHint::setParentIndexNumber | ( | std::optional< qint32 > | newParentIndexNumber | ) |
Gets or sets the parent index number.
void Jellyfin::DTO::SearchHint::setParentIndexNumberNull | ( | ) |
void Jellyfin::DTO::SearchHint::setPrimaryImageAspectRatio | ( | std::optional< double > | newPrimaryImageAspectRatio | ) |
Gets or sets the primary image aspect ratio.
void Jellyfin::DTO::SearchHint::setPrimaryImageAspectRatioNull | ( | ) |
void Jellyfin::DTO::SearchHint::setPrimaryImageTag | ( | QString | newPrimaryImageTag | ) |
Gets or sets the image tag.
void Jellyfin::DTO::SearchHint::setPrimaryImageTagNull | ( | ) |
void Jellyfin::DTO::SearchHint::setProductionYear | ( | std::optional< qint32 > | newProductionYear | ) |
Gets or sets the production year.
void Jellyfin::DTO::SearchHint::setProductionYearNull | ( | ) |
void Jellyfin::DTO::SearchHint::setRunTimeTicks | ( | std::optional< qint64 > | newRunTimeTicks | ) |
Gets or sets the run time ticks.
void Jellyfin::DTO::SearchHint::setRunTimeTicksNull | ( | ) |
void Jellyfin::DTO::SearchHint::setSeries | ( | QString | newSeries | ) |
Gets or sets the series.
void Jellyfin::DTO::SearchHint::setSeriesNull | ( | ) |
void Jellyfin::DTO::SearchHint::setSongCount | ( | std::optional< qint32 > | newSongCount | ) |
Gets or sets the song count.
void Jellyfin::DTO::SearchHint::setSongCountNull | ( | ) |
void Jellyfin::DTO::SearchHint::setStartDate | ( | QDateTime | newStartDate | ) |
void Jellyfin::DTO::SearchHint::setStartDateNull | ( | ) |
void Jellyfin::DTO::SearchHint::setStatus | ( | QString | newStatus | ) |
void Jellyfin::DTO::SearchHint::setStatusNull | ( | ) |
void Jellyfin::DTO::SearchHint::setThumbImageItemId | ( | QString | newThumbImageItemId | ) |
Gets or sets the thumb image item identifier.
void Jellyfin::DTO::SearchHint::setThumbImageItemIdNull | ( | ) |
void Jellyfin::DTO::SearchHint::setThumbImageTag | ( | QString | newThumbImageTag | ) |
Gets or sets the thumb image tag.
void Jellyfin::DTO::SearchHint::setThumbImageTagNull | ( | ) |
void Jellyfin::DTO::SearchHint::setType | ( | QString | newType | ) |
Gets or sets the type.
void Jellyfin::DTO::SearchHint::setTypeNull | ( | ) |
std::optional< qint32 > Jellyfin::DTO::SearchHint::songCount | ( | ) | const |
Gets or sets the song count.
bool Jellyfin::DTO::SearchHint::songCountNull | ( | ) | const |
QDateTime Jellyfin::DTO::SearchHint::startDate | ( | ) | const |
bool Jellyfin::DTO::SearchHint::startDateNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::status | ( | ) | const |
bool Jellyfin::DTO::SearchHint::statusNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::thumbImageItemId | ( | ) | const |
Gets or sets the thumb image item identifier.
bool Jellyfin::DTO::SearchHint::thumbImageItemIdNull | ( | ) | const |
QString Jellyfin::DTO::SearchHint::thumbImageTag | ( | ) | const |
Gets or sets the thumb image tag.
bool Jellyfin::DTO::SearchHint::thumbImageTagNull | ( | ) | const |
QJsonObject Jellyfin::DTO::SearchHint::toJson | ( | ) | const |
QString Jellyfin::DTO::SearchHint::type | ( | ) | const |
Gets or sets the type.
bool Jellyfin::DTO::SearchHint::typeNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |