30#ifndef JELLYFIN_DTO_VALIDATEPATHDTO_H
31#define JELLYFIN_DTO_VALIDATEPATHDTO_H
63 QJsonObject
toJson()
const;
89 std::optional<bool>
isFile()
const;
93 void setIsFile(std::optional<bool> newIsFile);
Definition validatepathdto.h:48
void setPath(QString newPath)
Gets or sets the path.
Definition validatepathdto.cpp:95
bool m_validateWritable
Definition validatepathdto.h:99
bool isFileNull() const
Definition validatepathdto.cpp:111
std::optional< bool > m_isFile
Definition validatepathdto.h:101
static ValidatePathDto fromJson(QJsonObject source)
Definition validatepathdto.cpp:56
void setFromJson(QJsonObject source)
Definition validatepathdto.cpp:63
void setValidateWritable(bool newValidateWritable)
Gets or sets a value indicating whether validate if path is writable.
Definition validatepathdto.cpp:89
void setPathNull()
Definition validatepathdto.cpp:102
QString m_path
Definition validatepathdto.h:100
bool pathNull() const
Definition validatepathdto.cpp:98
void setIsFileNull()
Definition validatepathdto.cpp:115
void replaceData(ValidatePathDto &other)
Definition validatepathdto.cpp:50
QJsonObject toJson() const
Definition validatepathdto.cpp:70
bool validateWritable() const
Gets or sets a value indicating whether validate if path is writable.
Definition validatepathdto.cpp:87
std::optional< bool > isFile() const
Gets or sets is path file.
Definition validatepathdto.cpp:106
void setIsFile(std::optional< bool > newIsFile)
Gets or sets is path file.
Definition validatepathdto.cpp:108
QString path() const
Gets or sets the path.
Definition validatepathdto.cpp:93
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