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

#include <startupremoteaccessdto.h>

Public Member Functions

 StartupRemoteAccessDto (bool enableRemoteAccess, bool enableAutomaticPortMapping)
 
 StartupRemoteAccessDto (const StartupRemoteAccessDto &other)
 
void replaceData (StartupRemoteAccessDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
bool enableRemoteAccess () const
 Gets or sets a value indicating whether enable remote access.
 
void setEnableRemoteAccess (bool newEnableRemoteAccess)
 Gets or sets a value indicating whether enable remote access.
 
bool enableAutomaticPortMapping () const
 Gets or sets a value indicating whether enable automatic port mapping.
 
void setEnableAutomaticPortMapping (bool newEnableAutomaticPortMapping)
 Gets or sets a value indicating whether enable automatic port mapping.
 

Static Public Member Functions

static StartupRemoteAccessDto fromJson (QJsonObject source)
 

Protected Attributes

bool m_enableRemoteAccess
 
bool m_enableAutomaticPortMapping
 

Constructor & Destructor Documentation

◆ StartupRemoteAccessDto() [1/2]

Jellyfin::DTO::StartupRemoteAccessDto::StartupRemoteAccessDto ( bool enableRemoteAccess,
bool enableAutomaticPortMapping )

◆ StartupRemoteAccessDto() [2/2]

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

Member Function Documentation

◆ enableAutomaticPortMapping()

bool Jellyfin::DTO::StartupRemoteAccessDto::enableAutomaticPortMapping ( ) const

Gets or sets a value indicating whether enable automatic port mapping.

◆ enableRemoteAccess()

bool Jellyfin::DTO::StartupRemoteAccessDto::enableRemoteAccess ( ) const

Gets or sets a value indicating whether enable remote access.

◆ fromJson()

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

◆ replaceData()

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

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

◆ setEnableAutomaticPortMapping()

void Jellyfin::DTO::StartupRemoteAccessDto::setEnableAutomaticPortMapping ( bool newEnableAutomaticPortMapping)

Gets or sets a value indicating whether enable automatic port mapping.

◆ setEnableRemoteAccess()

void Jellyfin::DTO::StartupRemoteAccessDto::setEnableRemoteAccess ( bool newEnableRemoteAccess)

Gets or sets a value indicating whether enable remote access.

◆ setFromJson()

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

◆ toJson()

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

Member Data Documentation

◆ m_enableAutomaticPortMapping

bool Jellyfin::DTO::StartupRemoteAccessDto::m_enableAutomaticPortMapping
protected

◆ m_enableRemoteAccess

bool Jellyfin::DTO::StartupRemoteAccessDto::m_enableRemoteAccess
protected

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