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

#include <metadataeditorinfo.h>

Public Member Functions

 MetadataEditorInfo (QList< ParentalRating > parentalRatingOptions, QList< CountryInfo > countries, QList< CultureDto > cultures, QList< ExternalIdInfo > externalIdInfos, CollectionType contentType, QList< NameValuePair > contentTypeOptions)
 MetadataEditorInfo (const MetadataEditorInfo &other)
void replaceData (MetadataEditorInfo &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QList< ParentalRatingparentalRatingOptions () const
void setParentalRatingOptions (QList< ParentalRating > newParentalRatingOptions)
QList< CountryInfocountries () const
void setCountries (QList< CountryInfo > newCountries)
QList< CultureDtocultures () const
void setCultures (QList< CultureDto > newCultures)
QList< ExternalIdInfoexternalIdInfos () const
void setExternalIdInfos (QList< ExternalIdInfo > newExternalIdInfos)
CollectionType contentType () const
void setContentType (CollectionType newContentType)
QList< NameValuePaircontentTypeOptions () const
void setContentTypeOptions (QList< NameValuePair > newContentTypeOptions)

Static Public Member Functions

static MetadataEditorInfo fromJson (QJsonObject source)

Protected Attributes

QList< ParentalRatingm_parentalRatingOptions
QList< CountryInfom_countries
QList< CultureDtom_cultures
QList< ExternalIdInfom_externalIdInfos
CollectionType m_contentType
QList< NameValuePairm_contentTypeOptions

Constructor & Destructor Documentation

◆ MetadataEditorInfo() [1/2]

Jellyfin::DTO::MetadataEditorInfo::MetadataEditorInfo ( QList< ParentalRating > parentalRatingOptions,
QList< CountryInfo > countries,
QList< CultureDto > cultures,
QList< ExternalIdInfo > externalIdInfos,
CollectionType contentType,
QList< NameValuePair > contentTypeOptions )

◆ MetadataEditorInfo() [2/2]

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

Member Function Documentation

◆ contentType()

CollectionType Jellyfin::DTO::MetadataEditorInfo::contentType ( ) const

◆ contentTypeOptions()

QList< NameValuePair > Jellyfin::DTO::MetadataEditorInfo::contentTypeOptions ( ) const

◆ countries()

QList< CountryInfo > Jellyfin::DTO::MetadataEditorInfo::countries ( ) const

◆ cultures()

QList< CultureDto > Jellyfin::DTO::MetadataEditorInfo::cultures ( ) const

◆ externalIdInfos()

QList< ExternalIdInfo > Jellyfin::DTO::MetadataEditorInfo::externalIdInfos ( ) const

◆ fromJson()

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

◆ parentalRatingOptions()

QList< ParentalRating > Jellyfin::DTO::MetadataEditorInfo::parentalRatingOptions ( ) const

◆ replaceData()

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

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

◆ setContentType()

void Jellyfin::DTO::MetadataEditorInfo::setContentType ( CollectionType newContentType)

◆ setContentTypeOptions()

void Jellyfin::DTO::MetadataEditorInfo::setContentTypeOptions ( QList< NameValuePair > newContentTypeOptions)

◆ setCountries()

void Jellyfin::DTO::MetadataEditorInfo::setCountries ( QList< CountryInfo > newCountries)

◆ setCultures()

void Jellyfin::DTO::MetadataEditorInfo::setCultures ( QList< CultureDto > newCultures)

◆ setExternalIdInfos()

void Jellyfin::DTO::MetadataEditorInfo::setExternalIdInfos ( QList< ExternalIdInfo > newExternalIdInfos)

◆ setFromJson()

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

◆ setParentalRatingOptions()

void Jellyfin::DTO::MetadataEditorInfo::setParentalRatingOptions ( QList< ParentalRating > newParentalRatingOptions)

◆ toJson()

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

Member Data Documentation

◆ m_contentType

CollectionType Jellyfin::DTO::MetadataEditorInfo::m_contentType
protected

◆ m_contentTypeOptions

QList<NameValuePair> Jellyfin::DTO::MetadataEditorInfo::m_contentTypeOptions
protected

◆ m_countries

QList<CountryInfo> Jellyfin::DTO::MetadataEditorInfo::m_countries
protected

◆ m_cultures

QList<CultureDto> Jellyfin::DTO::MetadataEditorInfo::m_cultures
protected

◆ m_externalIdInfos

QList<ExternalIdInfo> Jellyfin::DTO::MetadataEditorInfo::m_externalIdInfos
protected

◆ m_parentalRatingOptions

QList<ParentalRating> Jellyfin::DTO::MetadataEditorInfo::m_parentalRatingOptions
protected

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