![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <mediasegmentdto.h>
Public Member Functions | |
| MediaSegmentDto (QString jellyfinId, QString itemId, MediaSegmentType type, qint64 startTicks, qint64 endTicks) | |
| MediaSegmentDto (const MediaSegmentDto &other) | |
| void | replaceData (MediaSegmentDto &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | jellyfinId () const |
| Gets or sets the id of the media segment. | |
| void | setJellyfinId (QString newJellyfinId) |
| Gets or sets the id of the media segment. | |
| QString | itemId () const |
| Gets or sets the id of the associated item. | |
| void | setItemId (QString newItemId) |
| Gets or sets the id of the associated item. | |
| MediaSegmentType | type () const |
| void | setType (MediaSegmentType newType) |
| qint64 | startTicks () const |
| Gets or sets the start of the segment. | |
| void | setStartTicks (qint64 newStartTicks) |
| Gets or sets the start of the segment. | |
| qint64 | endTicks () const |
| Gets or sets the end of the segment. | |
| void | setEndTicks (qint64 newEndTicks) |
| Gets or sets the end of the segment. | |
Static Public Member Functions | |
| static MediaSegmentDto | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_jellyfinId |
| QString | m_itemId |
| MediaSegmentType | m_type |
| qint64 | m_startTicks |
| qint64 | m_endTicks |
| Jellyfin::DTO::MediaSegmentDto::MediaSegmentDto | ( | QString | jellyfinId, |
| QString | itemId, | ||
| MediaSegmentType | type, | ||
| qint64 | startTicks, | ||
| qint64 | endTicks ) |
| Jellyfin::DTO::MediaSegmentDto::MediaSegmentDto | ( | const MediaSegmentDto & | other | ) |
| qint64 Jellyfin::DTO::MediaSegmentDto::endTicks | ( | ) | const |
Gets or sets the end of the segment.
|
static |
| QString Jellyfin::DTO::MediaSegmentDto::itemId | ( | ) | const |
Gets or sets the id of the associated item.
| QString Jellyfin::DTO::MediaSegmentDto::jellyfinId | ( | ) | const |
Gets or sets the id of the media segment.
| void Jellyfin::DTO::MediaSegmentDto::replaceData | ( | MediaSegmentDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::MediaSegmentDto::setEndTicks | ( | qint64 | newEndTicks | ) |
Gets or sets the end of the segment.
| void Jellyfin::DTO::MediaSegmentDto::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::MediaSegmentDto::setItemId | ( | QString | newItemId | ) |
Gets or sets the id of the associated item.
| void Jellyfin::DTO::MediaSegmentDto::setJellyfinId | ( | QString | newJellyfinId | ) |
Gets or sets the id of the media segment.
| void Jellyfin::DTO::MediaSegmentDto::setStartTicks | ( | qint64 | newStartTicks | ) |
Gets or sets the start of the segment.
| void Jellyfin::DTO::MediaSegmentDto::setType | ( | MediaSegmentType | newType | ) |
| qint64 Jellyfin::DTO::MediaSegmentDto::startTicks | ( | ) | const |
Gets or sets the start of the segment.
| QJsonObject Jellyfin::DTO::MediaSegmentDto::toJson | ( | ) | const |
| MediaSegmentType Jellyfin::DTO::MediaSegmentDto::type | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |