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

#include <setchannelmappingdto.h>

Public Member Functions

 SetChannelMappingDto (QString providerId, QString tunerChannelId, QString providerChannelId)
 
 SetChannelMappingDto (const SetChannelMappingDto &other)
 
void replaceData (SetChannelMappingDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString providerId () const
 Gets or sets the provider id.
 
void setProviderId (QString newProviderId)
 Gets or sets the provider id.
 
QString tunerChannelId () const
 Gets or sets the tuner channel id.
 
void setTunerChannelId (QString newTunerChannelId)
 Gets or sets the tuner channel id.
 
QString providerChannelId () const
 Gets or sets the provider channel id.
 
void setProviderChannelId (QString newProviderChannelId)
 Gets or sets the provider channel id.
 

Static Public Member Functions

static SetChannelMappingDto fromJson (QJsonObject source)
 

Protected Attributes

QString m_providerId
 
QString m_tunerChannelId
 
QString m_providerChannelId
 

Constructor & Destructor Documentation

◆ SetChannelMappingDto() [1/2]

Jellyfin::DTO::SetChannelMappingDto::SetChannelMappingDto ( QString providerId,
QString tunerChannelId,
QString providerChannelId )

◆ SetChannelMappingDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ providerChannelId()

QString Jellyfin::DTO::SetChannelMappingDto::providerChannelId ( ) const

Gets or sets the provider channel id.

◆ providerId()

QString Jellyfin::DTO::SetChannelMappingDto::providerId ( ) const

Gets or sets the provider id.

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setProviderChannelId()

void Jellyfin::DTO::SetChannelMappingDto::setProviderChannelId ( QString newProviderChannelId)

Gets or sets the provider channel id.

◆ setProviderId()

void Jellyfin::DTO::SetChannelMappingDto::setProviderId ( QString newProviderId)

Gets or sets the provider id.

◆ setTunerChannelId()

void Jellyfin::DTO::SetChannelMappingDto::setTunerChannelId ( QString newTunerChannelId)

Gets or sets the tuner channel id.

◆ toJson()

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

◆ tunerChannelId()

QString Jellyfin::DTO::SetChannelMappingDto::tunerChannelId ( ) const

Gets or sets the tuner channel id.

Member Data Documentation

◆ m_providerChannelId

QString Jellyfin::DTO::SetChannelMappingDto::m_providerChannelId
protected

◆ m_providerId

QString Jellyfin::DTO::SetChannelMappingDto::m_providerId
protected

◆ m_tunerChannelId

QString Jellyfin::DTO::SetChannelMappingDto::m_tunerChannelId
protected

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