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

#include <mediaattachment.h>

Public Member Functions

 MediaAttachment (qint32 index)
 
 MediaAttachment (const MediaAttachment &other)
 
void replaceData (MediaAttachment &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString codec () const
 Gets or sets the codec.
 
void setCodec (QString newCodec)
 Gets or sets the codec.
 
bool codecNull () const
 
void setCodecNull ()
 
QString codecTag () const
 Gets or sets the codec tag.
 
void setCodecTag (QString newCodecTag)
 Gets or sets the codec tag.
 
bool codecTagNull () const
 
void setCodecTagNull ()
 
QString comment () const
 Gets or sets the comment.
 
void setComment (QString newComment)
 Gets or sets the comment.
 
bool commentNull () const
 
void setCommentNull ()
 
qint32 index () const
 Gets or sets the index.
 
void setIndex (qint32 newIndex)
 Gets or sets the index.
 
QString fileName () const
 Gets or sets the filename.
 
void setFileName (QString newFileName)
 Gets or sets the filename.
 
bool fileNameNull () const
 
void setFileNameNull ()
 
QString mimeType () const
 Gets or sets the MIME type.
 
void setMimeType (QString newMimeType)
 Gets or sets the MIME type.
 
bool mimeTypeNull () const
 
void setMimeTypeNull ()
 
QString deliveryUrl () const
 Gets or sets the delivery URL.
 
void setDeliveryUrl (QString newDeliveryUrl)
 Gets or sets the delivery URL.
 
bool deliveryUrlNull () const
 
void setDeliveryUrlNull ()
 

Static Public Member Functions

static MediaAttachment fromJson (QJsonObject source)
 

Protected Attributes

QString m_codec
 
QString m_codecTag
 
QString m_comment
 
qint32 m_index
 
QString m_fileName
 
QString m_mimeType
 
QString m_deliveryUrl
 

Constructor & Destructor Documentation

◆ MediaAttachment() [1/2]

Jellyfin::DTO::MediaAttachment::MediaAttachment ( qint32 index)

◆ MediaAttachment() [2/2]

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

Member Function Documentation

◆ codec()

QString Jellyfin::DTO::MediaAttachment::codec ( ) const

Gets or sets the codec.

◆ codecNull()

bool Jellyfin::DTO::MediaAttachment::codecNull ( ) const

◆ codecTag()

QString Jellyfin::DTO::MediaAttachment::codecTag ( ) const

Gets or sets the codec tag.

◆ codecTagNull()

bool Jellyfin::DTO::MediaAttachment::codecTagNull ( ) const

◆ comment()

QString Jellyfin::DTO::MediaAttachment::comment ( ) const

Gets or sets the comment.

◆ commentNull()

bool Jellyfin::DTO::MediaAttachment::commentNull ( ) const

◆ deliveryUrl()

QString Jellyfin::DTO::MediaAttachment::deliveryUrl ( ) const

Gets or sets the delivery URL.

◆ deliveryUrlNull()

bool Jellyfin::DTO::MediaAttachment::deliveryUrlNull ( ) const

◆ fileName()

QString Jellyfin::DTO::MediaAttachment::fileName ( ) const

Gets or sets the filename.

◆ fileNameNull()

bool Jellyfin::DTO::MediaAttachment::fileNameNull ( ) const

◆ fromJson()

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

◆ index()

qint32 Jellyfin::DTO::MediaAttachment::index ( ) const

Gets or sets the index.

◆ mimeType()

QString Jellyfin::DTO::MediaAttachment::mimeType ( ) const

Gets or sets the MIME type.

◆ mimeTypeNull()

bool Jellyfin::DTO::MediaAttachment::mimeTypeNull ( ) const

◆ replaceData()

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

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

◆ setCodec()

void Jellyfin::DTO::MediaAttachment::setCodec ( QString newCodec)

Gets or sets the codec.

◆ setCodecNull()

void Jellyfin::DTO::MediaAttachment::setCodecNull ( )

◆ setCodecTag()

void Jellyfin::DTO::MediaAttachment::setCodecTag ( QString newCodecTag)

Gets or sets the codec tag.

◆ setCodecTagNull()

void Jellyfin::DTO::MediaAttachment::setCodecTagNull ( )

◆ setComment()

void Jellyfin::DTO::MediaAttachment::setComment ( QString newComment)

Gets or sets the comment.

◆ setCommentNull()

void Jellyfin::DTO::MediaAttachment::setCommentNull ( )

◆ setDeliveryUrl()

void Jellyfin::DTO::MediaAttachment::setDeliveryUrl ( QString newDeliveryUrl)

Gets or sets the delivery URL.

◆ setDeliveryUrlNull()

void Jellyfin::DTO::MediaAttachment::setDeliveryUrlNull ( )

◆ setFileName()

void Jellyfin::DTO::MediaAttachment::setFileName ( QString newFileName)

Gets or sets the filename.

◆ setFileNameNull()

void Jellyfin::DTO::MediaAttachment::setFileNameNull ( )

◆ setFromJson()

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

◆ setIndex()

void Jellyfin::DTO::MediaAttachment::setIndex ( qint32 newIndex)

Gets or sets the index.

◆ setMimeType()

void Jellyfin::DTO::MediaAttachment::setMimeType ( QString newMimeType)

Gets or sets the MIME type.

◆ setMimeTypeNull()

void Jellyfin::DTO::MediaAttachment::setMimeTypeNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_codec

QString Jellyfin::DTO::MediaAttachment::m_codec
protected

◆ m_codecTag

QString Jellyfin::DTO::MediaAttachment::m_codecTag
protected

◆ m_comment

QString Jellyfin::DTO::MediaAttachment::m_comment
protected

◆ m_deliveryUrl

QString Jellyfin::DTO::MediaAttachment::m_deliveryUrl
protected

◆ m_fileName

QString Jellyfin::DTO::MediaAttachment::m_fileName
protected

◆ m_index

qint32 Jellyfin::DTO::MediaAttachment::m_index
protected

◆ m_mimeType

QString Jellyfin::DTO::MediaAttachment::m_mimeType
protected

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