![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <sessionuserinfo.h>
Public Member Functions | |
| SessionUserInfo (QString userId) | |
| SessionUserInfo (const SessionUserInfo &other) | |
| void | replaceData (SessionUserInfo &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | userId () const |
| Gets or sets the user identifier. | |
| void | setUserId (QString newUserId) |
| Gets or sets the user identifier. | |
| QString | userName () const |
| Gets or sets the name of the user. | |
| void | setUserName (QString newUserName) |
| Gets or sets the name of the user. | |
| bool | userNameNull () const |
| void | setUserNameNull () |
Static Public Member Functions | |
| static SessionUserInfo | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_userId |
| QString | m_userName |
| Jellyfin::DTO::SessionUserInfo::SessionUserInfo | ( | QString | userId | ) |
| Jellyfin::DTO::SessionUserInfo::SessionUserInfo | ( | const SessionUserInfo & | other | ) |
|
static |
| void Jellyfin::DTO::SessionUserInfo::replaceData | ( | SessionUserInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::SessionUserInfo::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::SessionUserInfo::setUserId | ( | QString | newUserId | ) |
Gets or sets the user identifier.
| void Jellyfin::DTO::SessionUserInfo::setUserName | ( | QString | newUserName | ) |
Gets or sets the name of the user.
| void Jellyfin::DTO::SessionUserInfo::setUserNameNull | ( | ) |
| QJsonObject Jellyfin::DTO::SessionUserInfo::toJson | ( | ) | const |
| QString Jellyfin::DTO::SessionUserInfo::userId | ( | ) | const |
Gets or sets the user identifier.
| QString Jellyfin::DTO::SessionUserInfo::userName | ( | ) | const |
Gets or sets the name of the user.
| bool Jellyfin::DTO::SessionUserInfo::userNameNull | ( | ) | const |
|
protected |
|
protected |