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

#include <baseitemperson.h>

Public Member Functions

 BaseItemPerson (QString jellyfinId, PersonKind type)
 BaseItemPerson (const BaseItemPerson &other)
void replaceData (BaseItemPerson &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.
QString role () const
 Gets or sets the role.
void setRole (QString newRole)
 Gets or sets the role.
bool roleNull () const
void setRoleNull ()
PersonKind type () const
void setType (PersonKind newType)
QString primaryImageTag () const
 Gets or sets the primary image tag.
void setPrimaryImageTag (QString newPrimaryImageTag)
 Gets or sets the primary image tag.
bool primaryImageTagNull () const
void setPrimaryImageTagNull ()
QJsonObject imageBlurHashes () const
 Gets or sets the primary image blurhash.
void setImageBlurHashes (QJsonObject newImageBlurHashes)
 Gets or sets the primary image blurhash.
bool imageBlurHashesNull () const
void setImageBlurHashesNull ()

Static Public Member Functions

static BaseItemPerson fromJson (QJsonObject source)

Protected Attributes

QString m_name
QString m_jellyfinId
QString m_role
PersonKind m_type
QString m_primaryImageTag
QJsonObject m_imageBlurHashes

Constructor & Destructor Documentation

◆ BaseItemPerson() [1/2]

Jellyfin::DTO::BaseItemPerson::BaseItemPerson ( QString jellyfinId,
PersonKind type )

◆ BaseItemPerson() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ imageBlurHashes()

QJsonObject Jellyfin::DTO::BaseItemPerson::imageBlurHashes ( ) const

Gets or sets the primary image blurhash.

◆ imageBlurHashesNull()

bool Jellyfin::DTO::BaseItemPerson::imageBlurHashesNull ( ) const

◆ jellyfinId()

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

Gets or sets the identifier.

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ primaryImageTag()

QString Jellyfin::DTO::BaseItemPerson::primaryImageTag ( ) const

Gets or sets the primary image tag.

◆ primaryImageTagNull()

bool Jellyfin::DTO::BaseItemPerson::primaryImageTagNull ( ) const

◆ replaceData()

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

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

◆ role()

QString Jellyfin::DTO::BaseItemPerson::role ( ) const

Gets or sets the role.

◆ roleNull()

bool Jellyfin::DTO::BaseItemPerson::roleNull ( ) const

◆ setFromJson()

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

◆ setImageBlurHashes()

void Jellyfin::DTO::BaseItemPerson::setImageBlurHashes ( QJsonObject newImageBlurHashes)

Gets or sets the primary image blurhash.

◆ setImageBlurHashesNull()

void Jellyfin::DTO::BaseItemPerson::setImageBlurHashesNull ( )

◆ setJellyfinId()

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

Gets or sets the identifier.

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::BaseItemPerson::setNameNull ( )

◆ setPrimaryImageTag()

void Jellyfin::DTO::BaseItemPerson::setPrimaryImageTag ( QString newPrimaryImageTag)

Gets or sets the primary image tag.

◆ setPrimaryImageTagNull()

void Jellyfin::DTO::BaseItemPerson::setPrimaryImageTagNull ( )

◆ setRole()

void Jellyfin::DTO::BaseItemPerson::setRole ( QString newRole)

Gets or sets the role.

◆ setRoleNull()

void Jellyfin::DTO::BaseItemPerson::setRoleNull ( )

◆ setType()

void Jellyfin::DTO::BaseItemPerson::setType ( PersonKind newType)

◆ toJson()

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

◆ type()

PersonKind Jellyfin::DTO::BaseItemPerson::type ( ) const

Member Data Documentation

◆ m_imageBlurHashes

QJsonObject Jellyfin::DTO::BaseItemPerson::m_imageBlurHashes
protected

◆ m_jellyfinId

QString Jellyfin::DTO::BaseItemPerson::m_jellyfinId
protected

◆ m_name

QString Jellyfin::DTO::BaseItemPerson::m_name
protected

◆ m_primaryImageTag

QString Jellyfin::DTO::BaseItemPerson::m_primaryImageTag
protected

◆ m_role

QString Jellyfin::DTO::BaseItemPerson::m_role
protected

◆ m_type

PersonKind Jellyfin::DTO::BaseItemPerson::m_type
protected

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