30#ifndef JELLYFIN_DTO_REMOTEIMAGEINFO_H
31#define JELLYFIN_DTO_REMOTEIMAGEINFO_H
66 QJsonObject
toJson()
const;
87 void setUrl(QString newUrl);
105 std::optional<qint32>
height()
const;
109 void setHeight(std::optional<qint32> newHeight);
116 std::optional<qint32>
width()
const;
120 void setWidth(std::optional<qint32> newWidth);
Value
Definition imagetype.h:49
Value
Definition ratingtype.h:49
Definition remoteimageinfo.h:50
void setThumbnailUrlNull()
Definition remoteimageinfo.cpp:176
void setProviderName(QString newProviderName)
Gets or sets the name of the provider.
Definition remoteimageinfo.cpp:143
std::optional< double > m_communityRating
Definition remoteimageinfo.h:174
void setUrlNull()
Definition remoteimageinfo.cpp:163
ImageType type() const
Definition remoteimageinfo.cpp:245
QString m_url
Definition remoteimageinfo.h:170
void setCommunityRating(std::optional< double > newCommunityRating)
Gets or sets the community rating.
Definition remoteimageinfo.cpp:208
std::optional< qint32 > width() const
Gets or sets the width.
Definition remoteimageinfo.cpp:193
RatingType m_ratingType
Definition remoteimageinfo.h:178
void setUrl(QString newUrl)
Gets or sets the URL.
Definition remoteimageinfo.cpp:156
void setVoteCount(std::optional< qint32 > newVoteCount)
Gets or sets the vote count.
Definition remoteimageinfo.cpp:221
RatingType ratingType() const
Definition remoteimageinfo.cpp:251
QJsonObject toJson() const
Definition remoteimageinfo.cpp:93
ImageType m_type
Definition remoteimageinfo.h:177
void setHeight(std::optional< qint32 > newHeight)
Gets or sets the height.
Definition remoteimageinfo.cpp:182
void setVoteCountNull()
Definition remoteimageinfo.cpp:228
static RemoteImageInfo fromJson(QJsonObject source)
Definition remoteimageinfo.cpp:72
void setProviderNameNull()
Definition remoteimageinfo.cpp:150
std::optional< qint32 > height() const
Gets or sets the height.
Definition remoteimageinfo.cpp:180
void replaceData(RemoteImageInfo &other)
Definition remoteimageinfo.cpp:59
bool heightNull() const
Definition remoteimageinfo.cpp:185
void setFromJson(QJsonObject source)
Definition remoteimageinfo.cpp:79
void setLanguage(QString newLanguage)
Gets or sets the language.
Definition remoteimageinfo.cpp:234
QString m_thumbnailUrl
Definition remoteimageinfo.h:171
QString url() const
Gets or sets the URL.
Definition remoteimageinfo.cpp:154
std::optional< qint32 > m_voteCount
Definition remoteimageinfo.h:175
bool thumbnailUrlNull() const
Definition remoteimageinfo.cpp:172
bool voteCountNull() const
Definition remoteimageinfo.cpp:224
void setLanguageNull()
Definition remoteimageinfo.cpp:241
QString m_providerName
Definition remoteimageinfo.h:169
QString thumbnailUrl() const
Gets a url used for previewing a smaller version.
Definition remoteimageinfo.cpp:167
void setHeightNull()
Definition remoteimageinfo.cpp:189
std::optional< qint32 > m_height
Definition remoteimageinfo.h:172
void setRatingType(RatingType newRatingType)
Definition remoteimageinfo.cpp:253
std::optional< double > communityRating() const
Gets or sets the community rating.
Definition remoteimageinfo.cpp:206
void setCommunityRatingNull()
Definition remoteimageinfo.cpp:215
std::optional< qint32 > m_width
Definition remoteimageinfo.h:173
QString m_language
Definition remoteimageinfo.h:176
bool languageNull() const
Definition remoteimageinfo.cpp:237
bool communityRatingNull() const
Definition remoteimageinfo.cpp:211
QString language() const
Gets or sets the language.
Definition remoteimageinfo.cpp:232
bool urlNull() const
Definition remoteimageinfo.cpp:159
bool providerNameNull() const
Definition remoteimageinfo.cpp:146
std::optional< qint32 > voteCount() const
Gets or sets the vote count.
Definition remoteimageinfo.cpp:219
void setWidth(std::optional< qint32 > newWidth)
Gets or sets the width.
Definition remoteimageinfo.cpp:195
QString providerName() const
Gets or sets the name of the provider.
Definition remoteimageinfo.cpp:141
void setThumbnailUrl(QString newThumbnailUrl)
Gets a url used for previewing a smaller version.
Definition remoteimageinfo.cpp:169
void setWidthNull()
Definition remoteimageinfo.cpp:202
bool widthNull() const
Definition remoteimageinfo.cpp:198
void setType(ImageType newType)
Definition remoteimageinfo.cpp:247
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