30#ifndef JELLYFIN_DTO_CODECPROFILE_H
31#define JELLYFIN_DTO_CODECPROFILE_H
69 QJsonObject
toJson()
const;
98 QString
codec()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition codecprofile.h:52
QString container() const
Gets or sets the container(s) which this profile will be applied to.
Definition codecprofile.cpp:138
bool subContainerNull() const
Definition codecprofile.cpp:156
QList< ProfileCondition > applyConditions() const
Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met.
Definition codecprofile.cpp:119
bool containerNull() const
Definition codecprofile.cpp:143
QList< ProfileCondition > conditions() const
Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet.
Definition codecprofile.cpp:113
QString subContainer() const
Gets or sets the sub-container(s) which this profile will be applied to.
Definition codecprofile.cpp:151
void setSubContainerNull()
Definition codecprofile.cpp:160
void setCodecNull()
Definition codecprofile.cpp:134
void setContainer(QString newContainer)
Gets or sets the container(s) which this profile will be applied to.
Definition codecprofile.cpp:140
QJsonObject toJson() const
Definition codecprofile.cpp:83
static CodecProfile fromJson(QJsonObject source)
Definition codecprofile.cpp:66
QString codec() const
Gets or sets the codec(s) that this profile applies to.
Definition codecprofile.cpp:125
QString m_subContainer
Definition codecprofile.h:135
void setContainerNull()
Definition codecprofile.cpp:147
void setCodec(QString newCodec)
Gets or sets the codec(s) that this profile applies to.
Definition codecprofile.cpp:127
QList< ProfileCondition > m_conditions
Definition codecprofile.h:131
void replaceData(CodecProfile &other)
Definition codecprofile.cpp:57
void setSubContainer(QString newSubContainer)
Gets or sets the sub-container(s) which this profile will be applied to.
Definition codecprofile.cpp:153
bool codecNull() const
Definition codecprofile.cpp:130
CodecProfile(CodecType type, QList< ProfileCondition > conditions, QList< ProfileCondition > applyConditions)
Definition codecprofile.cpp:36
void setConditions(QList< ProfileCondition > newConditions)
Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this profile must meet.
Definition codecprofile.cpp:115
QList< ProfileCondition > m_applyConditions
Definition codecprofile.h:132
QString m_codec
Definition codecprofile.h:133
CodecType m_type
Definition codecprofile.h:130
void setFromJson(QJsonObject source)
Definition codecprofile.cpp:73
CodecType type() const
Definition codecprofile.cpp:107
void setApplyConditions(QList< ProfileCondition > newApplyConditions)
Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition to apply if this profile is met.
Definition codecprofile.cpp:121
void setType(CodecType newType)
Definition codecprofile.cpp:109
QString m_container
Definition codecprofile.h:134
Definition mediaplayer2.h:20
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
CodecTypeClass::Value CodecType
Definition codectype.h:60
Definition accessschedule.h:128
Jellyfin::DTO::CodecProfile CodecProfile
Definition codecprofile.h:147
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45