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

#include <libraryupdateinfo.h>

Public Member Functions

 LibraryUpdateInfo (bool isEmpty)
 
 LibraryUpdateInfo (const LibraryUpdateInfo &other)
 
void replaceData (LibraryUpdateInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QStringList foldersAddedTo () const
 Gets or sets the folders added to.
 
void setFoldersAddedTo (QStringList newFoldersAddedTo)
 Gets or sets the folders added to.
 
bool foldersAddedToNull () const
 
void setFoldersAddedToNull ()
 
QStringList foldersRemovedFrom () const
 Gets or sets the folders removed from.
 
void setFoldersRemovedFrom (QStringList newFoldersRemovedFrom)
 Gets or sets the folders removed from.
 
bool foldersRemovedFromNull () const
 
void setFoldersRemovedFromNull ()
 
QStringList itemsAdded () const
 Gets or sets the items added.
 
void setItemsAdded (QStringList newItemsAdded)
 Gets or sets the items added.
 
bool itemsAddedNull () const
 
void setItemsAddedNull ()
 
QStringList itemsRemoved () const
 Gets or sets the items removed.
 
void setItemsRemoved (QStringList newItemsRemoved)
 Gets or sets the items removed.
 
bool itemsRemovedNull () const
 
void setItemsRemovedNull ()
 
QStringList itemsUpdated () const
 Gets or sets the items updated.
 
void setItemsUpdated (QStringList newItemsUpdated)
 Gets or sets the items updated.
 
bool itemsUpdatedNull () const
 
void setItemsUpdatedNull ()
 
QStringList collectionFolders () const
 
void setCollectionFolders (QStringList newCollectionFolders)
 
bool collectionFoldersNull () const
 
void setCollectionFoldersNull ()
 
bool isEmpty () const
 
void setIsEmpty (bool newIsEmpty)
 

Static Public Member Functions

static LibraryUpdateInfo fromJson (QJsonObject source)
 

Protected Attributes

QStringList m_foldersAddedTo
 
QStringList m_foldersRemovedFrom
 
QStringList m_itemsAdded
 
QStringList m_itemsRemoved
 
QStringList m_itemsUpdated
 
QStringList m_collectionFolders
 
bool m_isEmpty
 

Constructor & Destructor Documentation

◆ LibraryUpdateInfo() [1/2]

Jellyfin::DTO::LibraryUpdateInfo::LibraryUpdateInfo ( bool isEmpty)

◆ LibraryUpdateInfo() [2/2]

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

Member Function Documentation

◆ collectionFolders()

QStringList Jellyfin::DTO::LibraryUpdateInfo::collectionFolders ( ) const

◆ collectionFoldersNull()

bool Jellyfin::DTO::LibraryUpdateInfo::collectionFoldersNull ( ) const

◆ foldersAddedTo()

QStringList Jellyfin::DTO::LibraryUpdateInfo::foldersAddedTo ( ) const

Gets or sets the folders added to.

◆ foldersAddedToNull()

bool Jellyfin::DTO::LibraryUpdateInfo::foldersAddedToNull ( ) const

◆ foldersRemovedFrom()

QStringList Jellyfin::DTO::LibraryUpdateInfo::foldersRemovedFrom ( ) const

Gets or sets the folders removed from.

◆ foldersRemovedFromNull()

bool Jellyfin::DTO::LibraryUpdateInfo::foldersRemovedFromNull ( ) const

◆ fromJson()

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

◆ isEmpty()

bool Jellyfin::DTO::LibraryUpdateInfo::isEmpty ( ) const

◆ itemsAdded()

QStringList Jellyfin::DTO::LibraryUpdateInfo::itemsAdded ( ) const

Gets or sets the items added.

◆ itemsAddedNull()

bool Jellyfin::DTO::LibraryUpdateInfo::itemsAddedNull ( ) const

◆ itemsRemoved()

QStringList Jellyfin::DTO::LibraryUpdateInfo::itemsRemoved ( ) const

Gets or sets the items removed.

◆ itemsRemovedNull()

bool Jellyfin::DTO::LibraryUpdateInfo::itemsRemovedNull ( ) const

◆ itemsUpdated()

QStringList Jellyfin::DTO::LibraryUpdateInfo::itemsUpdated ( ) const

Gets or sets the items updated.

◆ itemsUpdatedNull()

bool Jellyfin::DTO::LibraryUpdateInfo::itemsUpdatedNull ( ) const

◆ replaceData()

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

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

◆ setCollectionFolders()

void Jellyfin::DTO::LibraryUpdateInfo::setCollectionFolders ( QStringList newCollectionFolders)

◆ setCollectionFoldersNull()

void Jellyfin::DTO::LibraryUpdateInfo::setCollectionFoldersNull ( )

◆ setFoldersAddedTo()

void Jellyfin::DTO::LibraryUpdateInfo::setFoldersAddedTo ( QStringList newFoldersAddedTo)

Gets or sets the folders added to.

◆ setFoldersAddedToNull()

void Jellyfin::DTO::LibraryUpdateInfo::setFoldersAddedToNull ( )

◆ setFoldersRemovedFrom()

void Jellyfin::DTO::LibraryUpdateInfo::setFoldersRemovedFrom ( QStringList newFoldersRemovedFrom)

Gets or sets the folders removed from.

◆ setFoldersRemovedFromNull()

void Jellyfin::DTO::LibraryUpdateInfo::setFoldersRemovedFromNull ( )

◆ setFromJson()

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

◆ setIsEmpty()

void Jellyfin::DTO::LibraryUpdateInfo::setIsEmpty ( bool newIsEmpty)

◆ setItemsAdded()

void Jellyfin::DTO::LibraryUpdateInfo::setItemsAdded ( QStringList newItemsAdded)

Gets or sets the items added.

◆ setItemsAddedNull()

void Jellyfin::DTO::LibraryUpdateInfo::setItemsAddedNull ( )

◆ setItemsRemoved()

void Jellyfin::DTO::LibraryUpdateInfo::setItemsRemoved ( QStringList newItemsRemoved)

Gets or sets the items removed.

◆ setItemsRemovedNull()

void Jellyfin::DTO::LibraryUpdateInfo::setItemsRemovedNull ( )

◆ setItemsUpdated()

void Jellyfin::DTO::LibraryUpdateInfo::setItemsUpdated ( QStringList newItemsUpdated)

Gets or sets the items updated.

◆ setItemsUpdatedNull()

void Jellyfin::DTO::LibraryUpdateInfo::setItemsUpdatedNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_collectionFolders

QStringList Jellyfin::DTO::LibraryUpdateInfo::m_collectionFolders
protected

◆ m_foldersAddedTo

QStringList Jellyfin::DTO::LibraryUpdateInfo::m_foldersAddedTo
protected

◆ m_foldersRemovedFrom

QStringList Jellyfin::DTO::LibraryUpdateInfo::m_foldersRemovedFrom
protected

◆ m_isEmpty

bool Jellyfin::DTO::LibraryUpdateInfo::m_isEmpty
protected

◆ m_itemsAdded

QStringList Jellyfin::DTO::LibraryUpdateInfo::m_itemsAdded
protected

◆ m_itemsRemoved

QStringList Jellyfin::DTO::LibraryUpdateInfo::m_itemsRemoved
protected

◆ m_itemsUpdated

QStringList Jellyfin::DTO::LibraryUpdateInfo::m_itemsUpdated
protected

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