30#ifndef JELLYFIN_DTO_REPOSITORYINFO_H
31#define JELLYFIN_DTO_REPOSITORYINFO_H
63 QJsonObject
toJson()
const;
84 void setUrl(QString newUrl);
Definition repositoryinfo.h:48
void setFromJson(QJsonObject source)
Definition repositoryinfo.cpp:63
QString url() const
Gets or sets the URL.
Definition repositoryinfo.cpp:100
void setNameNull()
Definition repositoryinfo.cpp:96
void setUrlNull()
Definition repositoryinfo.cpp:109
QString name() const
Gets or sets the name.
Definition repositoryinfo.cpp:87
void setName(QString newName)
Gets or sets the name.
Definition repositoryinfo.cpp:89
QJsonObject toJson() const
Definition repositoryinfo.cpp:70
bool nameNull() const
Definition repositoryinfo.cpp:92
static RepositoryInfo fromJson(QJsonObject source)
Definition repositoryinfo.cpp:56
void setEnabled(bool newEnabled)
Gets or sets a value indicating whether the repository is enabled.
Definition repositoryinfo.cpp:115
void setUrl(QString newUrl)
Gets or sets the URL.
Definition repositoryinfo.cpp:102
bool m_enabled
Definition repositoryinfo.h:101
QString m_url
Definition repositoryinfo.h:100
bool enabled() const
Gets or sets a value indicating whether the repository is enabled.
Definition repositoryinfo.cpp:113
bool urlNull() const
Definition repositoryinfo.cpp:105
void replaceData(RepositoryInfo &other)
Definition repositoryinfo.cpp:50
QString m_name
Definition repositoryinfo.h:99
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45