![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <validatepathdto.h>
Public Member Functions | |
| ValidatePathDto (bool validateWritable) | |
| ValidatePathDto (const ValidatePathDto &other) | |
| void | replaceData (ValidatePathDto &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| bool | validateWritable () const |
| Gets or sets a value indicating whether validate if path is writable. | |
| void | setValidateWritable (bool newValidateWritable) |
| Gets or sets a value indicating whether validate if path is writable. | |
| QString | path () const |
| Gets or sets the path. | |
| void | setPath (QString newPath) |
| Gets or sets the path. | |
| bool | pathNull () const |
| void | setPathNull () |
| std::optional< bool > | isFile () const |
| Gets or sets is path file. | |
| void | setIsFile (std::optional< bool > newIsFile) |
| Gets or sets is path file. | |
| bool | isFileNull () const |
| void | setIsFileNull () |
Static Public Member Functions | |
| static ValidatePathDto | fromJson (QJsonObject source) |
Protected Attributes | |
| bool | m_validateWritable |
| QString | m_path |
| std::optional< bool > | m_isFile = std::nullopt |
| Jellyfin::DTO::ValidatePathDto::ValidatePathDto | ( | bool | validateWritable | ) |
| Jellyfin::DTO::ValidatePathDto::ValidatePathDto | ( | const ValidatePathDto & | other | ) |
|
static |
| std::optional< bool > Jellyfin::DTO::ValidatePathDto::isFile | ( | ) | const |
Gets or sets is path file.
| bool Jellyfin::DTO::ValidatePathDto::isFileNull | ( | ) | const |
| QString Jellyfin::DTO::ValidatePathDto::path | ( | ) | const |
Gets or sets the path.
| bool Jellyfin::DTO::ValidatePathDto::pathNull | ( | ) | const |
| void Jellyfin::DTO::ValidatePathDto::replaceData | ( | ValidatePathDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::ValidatePathDto::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::ValidatePathDto::setIsFile | ( | std::optional< bool > | newIsFile | ) |
Gets or sets is path file.
| void Jellyfin::DTO::ValidatePathDto::setIsFileNull | ( | ) |
| void Jellyfin::DTO::ValidatePathDto::setPath | ( | QString | newPath | ) |
Gets or sets the path.
| void Jellyfin::DTO::ValidatePathDto::setPathNull | ( | ) |
| void Jellyfin::DTO::ValidatePathDto::setValidateWritable | ( | bool | newValidateWritable | ) |
Gets or sets a value indicating whether validate if path is writable.
| QJsonObject Jellyfin::DTO::ValidatePathDto::toJson | ( | ) | const |
| bool Jellyfin::DTO::ValidatePathDto::validateWritable | ( | ) | const |
Gets or sets a value indicating whether validate if path is writable.
|
protected |
|
protected |
|
protected |