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

#include <recommendationdto.h>

Public Member Functions

 RecommendationDto (RecommendationType recommendationType, QString categoryId)
 
 RecommendationDto (const RecommendationDto &other)
 
void replaceData (RecommendationDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QList< BaseItemDtoitems () const
 
void setItems (QList< BaseItemDto > newItems)
 
bool itemsNull () const
 
void setItemsNull ()
 
RecommendationType recommendationType () const
 
void setRecommendationType (RecommendationType newRecommendationType)
 
QString baselineItemName () const
 
void setBaselineItemName (QString newBaselineItemName)
 
bool baselineItemNameNull () const
 
void setBaselineItemNameNull ()
 
QString categoryId () const
 
void setCategoryId (QString newCategoryId)
 

Static Public Member Functions

static RecommendationDto fromJson (QJsonObject source)
 

Protected Attributes

QList< BaseItemDtom_items
 
RecommendationType m_recommendationType
 
QString m_baselineItemName
 
QString m_categoryId
 

Constructor & Destructor Documentation

◆ RecommendationDto() [1/2]

Jellyfin::DTO::RecommendationDto::RecommendationDto ( RecommendationType recommendationType,
QString categoryId )

◆ RecommendationDto() [2/2]

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

Member Function Documentation

◆ baselineItemName()

QString Jellyfin::DTO::RecommendationDto::baselineItemName ( ) const

◆ baselineItemNameNull()

bool Jellyfin::DTO::RecommendationDto::baselineItemNameNull ( ) const

◆ categoryId()

QString Jellyfin::DTO::RecommendationDto::categoryId ( ) const

◆ fromJson()

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

◆ items()

QList< BaseItemDto > Jellyfin::DTO::RecommendationDto::items ( ) const

◆ itemsNull()

bool Jellyfin::DTO::RecommendationDto::itemsNull ( ) const

◆ recommendationType()

RecommendationType Jellyfin::DTO::RecommendationDto::recommendationType ( ) const

◆ replaceData()

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

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

◆ setBaselineItemName()

void Jellyfin::DTO::RecommendationDto::setBaselineItemName ( QString newBaselineItemName)

◆ setBaselineItemNameNull()

void Jellyfin::DTO::RecommendationDto::setBaselineItemNameNull ( )

◆ setCategoryId()

void Jellyfin::DTO::RecommendationDto::setCategoryId ( QString newCategoryId)

◆ setFromJson()

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

◆ setItems()

void Jellyfin::DTO::RecommendationDto::setItems ( QList< BaseItemDto > newItems)

◆ setItemsNull()

void Jellyfin::DTO::RecommendationDto::setItemsNull ( )

◆ setRecommendationType()

void Jellyfin::DTO::RecommendationDto::setRecommendationType ( RecommendationType newRecommendationType)

◆ toJson()

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

Member Data Documentation

◆ m_baselineItemName

QString Jellyfin::DTO::RecommendationDto::m_baselineItemName
protected

◆ m_categoryId

QString Jellyfin::DTO::RecommendationDto::m_categoryId
protected

◆ m_items

QList<BaseItemDto> Jellyfin::DTO::RecommendationDto::m_items
protected

◆ m_recommendationType

RecommendationType Jellyfin::DTO::RecommendationDto::m_recommendationType
protected

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