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

#include <metadataconfiguration.h>

Public Member Functions

 MetadataConfiguration (bool useFileCreationTimeForDateAdded)
 MetadataConfiguration (const MetadataConfiguration &other)
void replaceData (MetadataConfiguration &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
bool useFileCreationTimeForDateAdded () const
void setUseFileCreationTimeForDateAdded (bool newUseFileCreationTimeForDateAdded)

Static Public Member Functions

static MetadataConfiguration fromJson (QJsonObject source)

Protected Attributes

bool m_useFileCreationTimeForDateAdded

Constructor & Destructor Documentation

◆ MetadataConfiguration() [1/2]

Jellyfin::DTO::MetadataConfiguration::MetadataConfiguration ( bool useFileCreationTimeForDateAdded)

◆ MetadataConfiguration() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setUseFileCreationTimeForDateAdded()

void Jellyfin::DTO::MetadataConfiguration::setUseFileCreationTimeForDateAdded ( bool newUseFileCreationTimeForDateAdded)

◆ toJson()

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

◆ useFileCreationTimeForDateAdded()

bool Jellyfin::DTO::MetadataConfiguration::useFileCreationTimeForDateAdded ( ) const

Member Data Documentation

◆ m_useFileCreationTimeForDateAdded

bool Jellyfin::DTO::MetadataConfiguration::m_useFileCreationTimeForDateAdded
protected

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