30#ifndef JELLYFIN_DTO_IMAGEINFO_H
31#define JELLYFIN_DTO_IMAGEINFO_H
65 QJsonObject
toJson()
const;
120 std::optional<qint32>
height()
const;
124 void setHeight(std::optional<qint32> newHeight);
131 std::optional<qint32>
width()
const;
135 void setWidth(std::optional<qint32> newWidth);
Definition imageinfo.h:49
QString m_blurHash
Definition imageinfo.h:154
std::optional< qint32 > m_width
Definition imageinfo.h:156
qint64 m_size
Definition imageinfo.h:157
void setWidthNull()
Definition imageinfo.cpp:205
void setImageTagNull()
Definition imageinfo.cpp:153
std::optional< qint32 > m_imageIndex
Definition imageinfo.h:151
void setBlurHashNull()
Definition imageinfo.cpp:179
void setHeightNull()
Definition imageinfo.cpp:192
std::optional< qint32 > m_height
Definition imageinfo.h:155
void setImageIndex(std::optional< qint32 > newImageIndex)
Gets or sets the index of the image.
Definition imageinfo.cpp:133
ImageType imageType() const
Definition imageinfo.cpp:125
QString m_path
Definition imageinfo.h:153
ImageType m_imageType
Definition imageinfo.h:150
QJsonObject toJson() const
Definition imageinfo.cpp:87
void setWidth(std::optional< qint32 > newWidth)
Gets or sets the width.
Definition imageinfo.cpp:198
void setImageIndexNull()
Definition imageinfo.cpp:140
void setFromJson(QJsonObject source)
Definition imageinfo.cpp:75
void setPathNull()
Definition imageinfo.cpp:166
bool widthNull() const
Definition imageinfo.cpp:201
bool imageTagNull() const
Definition imageinfo.cpp:149
bool imageIndexNull() const
Definition imageinfo.cpp:136
qint64 size() const
Gets or sets the size.
Definition imageinfo.cpp:209
void replaceData(ImageInfo &other)
Definition imageinfo.cpp:57
QString blurHash() const
Gets or sets the blurhash.
Definition imageinfo.cpp:170
QString path() const
Gets or sets the path.
Definition imageinfo.cpp:157
bool blurHashNull() const
Definition imageinfo.cpp:175
QString imageTag() const
Gets or sets the image tag.
Definition imageinfo.cpp:144
bool heightNull() const
Definition imageinfo.cpp:188
void setImageType(ImageType newImageType)
Definition imageinfo.cpp:127
void setImageTag(QString newImageTag)
Gets or sets the image tag.
Definition imageinfo.cpp:146
void setHeight(std::optional< qint32 > newHeight)
Gets or sets the height.
Definition imageinfo.cpp:185
std::optional< qint32 > imageIndex() const
Gets or sets the index of the image.
Definition imageinfo.cpp:131
QString m_imageTag
Definition imageinfo.h:152
std::optional< qint32 > height() const
Gets or sets the height.
Definition imageinfo.cpp:183
bool pathNull() const
Definition imageinfo.cpp:162
void setPath(QString newPath)
Gets or sets the path.
Definition imageinfo.cpp:159
static ImageInfo fromJson(QJsonObject source)
Definition imageinfo.cpp:68
std::optional< qint32 > width() const
Gets or sets the width.
Definition imageinfo.cpp:196
void setBlurHash(QString newBlurHash)
Gets or sets the blurhash.
Definition imageinfo.cpp:172
void setSize(qint64 newSize)
Gets or sets the size.
Definition imageinfo.cpp:211
Value
Definition imagetype.h:49
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