Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::PathSubstitution Class Reference

#include <pathsubstitution.h>

Public Member Functions

 PathSubstitution ()
 
 PathSubstitution (const PathSubstitution &other)
 
void replaceData (PathSubstitution &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString from () const
 Gets or sets the value to substitute.
 
void setFrom (QString newFrom)
 Gets or sets the value to substitute.
 
bool fromNull () const
 
void setFromNull ()
 
QString to () const
 Gets or sets the value to substitution with.
 
void setTo (QString newTo)
 Gets or sets the value to substitution with.
 
bool toNull () const
 
void setToNull ()
 

Static Public Member Functions

static PathSubstitution fromJson (QJsonObject source)
 

Protected Attributes

QString m_from
 
QString m_to
 

Constructor & Destructor Documentation

◆ PathSubstitution() [1/2]

Jellyfin::DTO::PathSubstitution::PathSubstitution ( )

◆ PathSubstitution() [2/2]

Jellyfin::DTO::PathSubstitution::PathSubstitution ( const PathSubstitution & other)

Member Function Documentation

◆ from()

QString Jellyfin::DTO::PathSubstitution::from ( ) const

Gets or sets the value to substitute.

◆ fromJson()

PathSubstitution Jellyfin::DTO::PathSubstitution::fromJson ( QJsonObject source)
static

◆ fromNull()

bool Jellyfin::DTO::PathSubstitution::fromNull ( ) const

◆ replaceData()

void Jellyfin::DTO::PathSubstitution::replaceData ( PathSubstitution & other)

Replaces the data being hold by this class with that of the other.

◆ setFrom()

void Jellyfin::DTO::PathSubstitution::setFrom ( QString newFrom)

Gets or sets the value to substitute.

◆ setFromJson()

void Jellyfin::DTO::PathSubstitution::setFromJson ( QJsonObject source)

◆ setFromNull()

void Jellyfin::DTO::PathSubstitution::setFromNull ( )

◆ setTo()

void Jellyfin::DTO::PathSubstitution::setTo ( QString newTo)

Gets or sets the value to substitution with.

◆ setToNull()

void Jellyfin::DTO::PathSubstitution::setToNull ( )

◆ to()

QString Jellyfin::DTO::PathSubstitution::to ( ) const

Gets or sets the value to substitution with.

◆ toJson()

QJsonObject Jellyfin::DTO::PathSubstitution::toJson ( ) const

◆ toNull()

bool Jellyfin::DTO::PathSubstitution::toNull ( ) const

Member Data Documentation

◆ m_from

QString Jellyfin::DTO::PathSubstitution::m_from
protected

◆ m_to

QString Jellyfin::DTO::PathSubstitution::m_to
protected

The documentation for this class was generated from the following files: