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

#include <groupinfodto.h>

Public Member Functions

 GroupInfoDto (QString groupId, GroupStateType state, QDateTime lastUpdatedAt)
 
 GroupInfoDto (const GroupInfoDto &other)
 
void replaceData (GroupInfoDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString groupId () const
 Gets the group identifier.
 
void setGroupId (QString newGroupId)
 Gets the group identifier.
 
QString groupName () const
 Gets the group name.
 
void setGroupName (QString newGroupName)
 Gets the group name.
 
bool groupNameNull () const
 
void setGroupNameNull ()
 
GroupStateType state () const
 
void setState (GroupStateType newState)
 
QStringList participants () const
 Gets the participants.
 
void setParticipants (QStringList newParticipants)
 Gets the participants.
 
bool participantsNull () const
 
void setParticipantsNull ()
 
QDateTime lastUpdatedAt () const
 Gets the date when this DTO has been created.
 
void setLastUpdatedAt (QDateTime newLastUpdatedAt)
 Gets the date when this DTO has been created.
 

Static Public Member Functions

static GroupInfoDto fromJson (QJsonObject source)
 

Protected Attributes

QString m_groupId
 
QString m_groupName
 
GroupStateType m_state
 
QStringList m_participants
 
QDateTime m_lastUpdatedAt
 

Constructor & Destructor Documentation

◆ GroupInfoDto() [1/2]

Jellyfin::DTO::GroupInfoDto::GroupInfoDto ( QString groupId,
GroupStateType state,
QDateTime lastUpdatedAt )

◆ GroupInfoDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ groupId()

QString Jellyfin::DTO::GroupInfoDto::groupId ( ) const

Gets the group identifier.

◆ groupName()

QString Jellyfin::DTO::GroupInfoDto::groupName ( ) const

Gets the group name.

◆ groupNameNull()

bool Jellyfin::DTO::GroupInfoDto::groupNameNull ( ) const

◆ lastUpdatedAt()

QDateTime Jellyfin::DTO::GroupInfoDto::lastUpdatedAt ( ) const

Gets the date when this DTO has been created.

◆ participants()

QStringList Jellyfin::DTO::GroupInfoDto::participants ( ) const

Gets the participants.

◆ participantsNull()

bool Jellyfin::DTO::GroupInfoDto::participantsNull ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setGroupId()

void Jellyfin::DTO::GroupInfoDto::setGroupId ( QString newGroupId)

Gets the group identifier.

◆ setGroupName()

void Jellyfin::DTO::GroupInfoDto::setGroupName ( QString newGroupName)

Gets the group name.

◆ setGroupNameNull()

void Jellyfin::DTO::GroupInfoDto::setGroupNameNull ( )

◆ setLastUpdatedAt()

void Jellyfin::DTO::GroupInfoDto::setLastUpdatedAt ( QDateTime newLastUpdatedAt)

Gets the date when this DTO has been created.

◆ setParticipants()

void Jellyfin::DTO::GroupInfoDto::setParticipants ( QStringList newParticipants)

Gets the participants.

◆ setParticipantsNull()

void Jellyfin::DTO::GroupInfoDto::setParticipantsNull ( )

◆ setState()

void Jellyfin::DTO::GroupInfoDto::setState ( GroupStateType newState)

◆ state()

GroupStateType Jellyfin::DTO::GroupInfoDto::state ( ) const

◆ toJson()

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

Member Data Documentation

◆ m_groupId

QString Jellyfin::DTO::GroupInfoDto::m_groupId
protected

◆ m_groupName

QString Jellyfin::DTO::GroupInfoDto::m_groupName
protected

◆ m_lastUpdatedAt

QDateTime Jellyfin::DTO::GroupInfoDto::m_lastUpdatedAt
protected

◆ m_participants

QStringList Jellyfin::DTO::GroupInfoDto::m_participants
protected

◆ m_state

GroupStateType Jellyfin::DTO::GroupInfoDto::m_state
protected

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