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

#include <itemcounts.h>

Public Member Functions

 ItemCounts (qint32 movieCount, qint32 seriesCount, qint32 episodeCount, qint32 artistCount, qint32 programCount, qint32 trailerCount, qint32 songCount, qint32 albumCount, qint32 musicVideoCount, qint32 boxSetCount, qint32 bookCount, qint32 itemCount)
 
 ItemCounts (const ItemCounts &other)
 
void replaceData (ItemCounts &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
qint32 movieCount () const
 Gets or sets the movie count.
 
void setMovieCount (qint32 newMovieCount)
 Gets or sets the movie count.
 
qint32 seriesCount () const
 Gets or sets the series count.
 
void setSeriesCount (qint32 newSeriesCount)
 Gets or sets the series count.
 
qint32 episodeCount () const
 Gets or sets the episode count.
 
void setEpisodeCount (qint32 newEpisodeCount)
 Gets or sets the episode count.
 
qint32 artistCount () const
 Gets or sets the artist count.
 
void setArtistCount (qint32 newArtistCount)
 Gets or sets the artist count.
 
qint32 programCount () const
 Gets or sets the program count.
 
void setProgramCount (qint32 newProgramCount)
 Gets or sets the program count.
 
qint32 trailerCount () const
 Gets or sets the trailer count.
 
void setTrailerCount (qint32 newTrailerCount)
 Gets or sets the trailer count.
 
qint32 songCount () const
 Gets or sets the song count.
 
void setSongCount (qint32 newSongCount)
 Gets or sets the song count.
 
qint32 albumCount () const
 Gets or sets the album count.
 
void setAlbumCount (qint32 newAlbumCount)
 Gets or sets the album count.
 
qint32 musicVideoCount () const
 Gets or sets the music video count.
 
void setMusicVideoCount (qint32 newMusicVideoCount)
 Gets or sets the music video count.
 
qint32 boxSetCount () const
 Gets or sets the box set count.
 
void setBoxSetCount (qint32 newBoxSetCount)
 Gets or sets the box set count.
 
qint32 bookCount () const
 Gets or sets the book count.
 
void setBookCount (qint32 newBookCount)
 Gets or sets the book count.
 
qint32 itemCount () const
 Gets or sets the item count.
 
void setItemCount (qint32 newItemCount)
 Gets or sets the item count.
 

Static Public Member Functions

static ItemCounts fromJson (QJsonObject source)
 

Protected Attributes

qint32 m_movieCount
 
qint32 m_seriesCount
 
qint32 m_episodeCount
 
qint32 m_artistCount
 
qint32 m_programCount
 
qint32 m_trailerCount
 
qint32 m_songCount
 
qint32 m_albumCount
 
qint32 m_musicVideoCount
 
qint32 m_boxSetCount
 
qint32 m_bookCount
 
qint32 m_itemCount
 

Constructor & Destructor Documentation

◆ ItemCounts() [1/2]

Jellyfin::DTO::ItemCounts::ItemCounts ( qint32 movieCount,
qint32 seriesCount,
qint32 episodeCount,
qint32 artistCount,
qint32 programCount,
qint32 trailerCount,
qint32 songCount,
qint32 albumCount,
qint32 musicVideoCount,
qint32 boxSetCount,
qint32 bookCount,
qint32 itemCount )

◆ ItemCounts() [2/2]

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

Member Function Documentation

◆ albumCount()

qint32 Jellyfin::DTO::ItemCounts::albumCount ( ) const

Gets or sets the album count.

◆ artistCount()

qint32 Jellyfin::DTO::ItemCounts::artistCount ( ) const

Gets or sets the artist count.

◆ bookCount()

qint32 Jellyfin::DTO::ItemCounts::bookCount ( ) const

Gets or sets the book count.

◆ boxSetCount()

qint32 Jellyfin::DTO::ItemCounts::boxSetCount ( ) const

Gets or sets the box set count.

◆ episodeCount()

qint32 Jellyfin::DTO::ItemCounts::episodeCount ( ) const

Gets or sets the episode count.

◆ fromJson()

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

◆ itemCount()

qint32 Jellyfin::DTO::ItemCounts::itemCount ( ) const

Gets or sets the item count.

◆ movieCount()

qint32 Jellyfin::DTO::ItemCounts::movieCount ( ) const

Gets or sets the movie count.

◆ musicVideoCount()

qint32 Jellyfin::DTO::ItemCounts::musicVideoCount ( ) const

Gets or sets the music video count.

◆ programCount()

qint32 Jellyfin::DTO::ItemCounts::programCount ( ) const

Gets or sets the program count.

◆ replaceData()

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

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

◆ seriesCount()

qint32 Jellyfin::DTO::ItemCounts::seriesCount ( ) const

Gets or sets the series count.

◆ setAlbumCount()

void Jellyfin::DTO::ItemCounts::setAlbumCount ( qint32 newAlbumCount)

Gets or sets the album count.

◆ setArtistCount()

void Jellyfin::DTO::ItemCounts::setArtistCount ( qint32 newArtistCount)

Gets or sets the artist count.

◆ setBookCount()

void Jellyfin::DTO::ItemCounts::setBookCount ( qint32 newBookCount)

Gets or sets the book count.

◆ setBoxSetCount()

void Jellyfin::DTO::ItemCounts::setBoxSetCount ( qint32 newBoxSetCount)

Gets or sets the box set count.

◆ setEpisodeCount()

void Jellyfin::DTO::ItemCounts::setEpisodeCount ( qint32 newEpisodeCount)

Gets or sets the episode count.

◆ setFromJson()

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

◆ setItemCount()

void Jellyfin::DTO::ItemCounts::setItemCount ( qint32 newItemCount)

Gets or sets the item count.

◆ setMovieCount()

void Jellyfin::DTO::ItemCounts::setMovieCount ( qint32 newMovieCount)

Gets or sets the movie count.

◆ setMusicVideoCount()

void Jellyfin::DTO::ItemCounts::setMusicVideoCount ( qint32 newMusicVideoCount)

Gets or sets the music video count.

◆ setProgramCount()

void Jellyfin::DTO::ItemCounts::setProgramCount ( qint32 newProgramCount)

Gets or sets the program count.

◆ setSeriesCount()

void Jellyfin::DTO::ItemCounts::setSeriesCount ( qint32 newSeriesCount)

Gets or sets the series count.

◆ setSongCount()

void Jellyfin::DTO::ItemCounts::setSongCount ( qint32 newSongCount)

Gets or sets the song count.

◆ setTrailerCount()

void Jellyfin::DTO::ItemCounts::setTrailerCount ( qint32 newTrailerCount)

Gets or sets the trailer count.

◆ songCount()

qint32 Jellyfin::DTO::ItemCounts::songCount ( ) const

Gets or sets the song count.

◆ toJson()

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

◆ trailerCount()

qint32 Jellyfin::DTO::ItemCounts::trailerCount ( ) const

Gets or sets the trailer count.

Member Data Documentation

◆ m_albumCount

qint32 Jellyfin::DTO::ItemCounts::m_albumCount
protected

◆ m_artistCount

qint32 Jellyfin::DTO::ItemCounts::m_artistCount
protected

◆ m_bookCount

qint32 Jellyfin::DTO::ItemCounts::m_bookCount
protected

◆ m_boxSetCount

qint32 Jellyfin::DTO::ItemCounts::m_boxSetCount
protected

◆ m_episodeCount

qint32 Jellyfin::DTO::ItemCounts::m_episodeCount
protected

◆ m_itemCount

qint32 Jellyfin::DTO::ItemCounts::m_itemCount
protected

◆ m_movieCount

qint32 Jellyfin::DTO::ItemCounts::m_movieCount
protected

◆ m_musicVideoCount

qint32 Jellyfin::DTO::ItemCounts::m_musicVideoCount
protected

◆ m_programCount

qint32 Jellyfin::DTO::ItemCounts::m_programCount
protected

◆ m_seriesCount

qint32 Jellyfin::DTO::ItemCounts::m_seriesCount
protected

◆ m_songCount

qint32 Jellyfin::DTO::ItemCounts::m_songCount
protected

◆ m_trailerCount

qint32 Jellyfin::DTO::ItemCounts::m_trailerCount
protected

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