Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <userpolicy.h>
Public Member Functions | |
UserPolicy (bool isAdministrator, bool isHidden, bool isDisabled, bool enableUserPreferenceAccess, bool enableRemoteControlOfOtherUsers, bool enableSharedDeviceControl, bool enableRemoteAccess, bool enableLiveTvManagement, bool enableLiveTvAccess, bool enableMediaPlayback, bool enableAudioPlaybackTranscoding, bool enableVideoPlaybackTranscoding, bool enablePlaybackRemuxing, bool forceRemoteSourceTranscoding, bool enableContentDeletion, bool enableContentDownloading, bool enableSyncTranscoding, bool enableMediaConversion, bool enableAllDevices, bool enableAllChannels, bool enableAllFolders, qint32 invalidLoginAttemptCount, qint32 loginAttemptsBeforeLockout, qint32 maxActiveSessions, bool enablePublicSharing, qint32 remoteClientBitrateLimit, SyncPlayUserAccessType syncPlayAccess) | |
UserPolicy (const UserPolicy &other) | |
void | replaceData (UserPolicy &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
bool | isAdministrator () const |
Gets or sets a value indicating whether this instance is administrator. | |
void | setIsAdministrator (bool newIsAdministrator) |
Gets or sets a value indicating whether this instance is administrator. | |
bool | isHidden () const |
Gets or sets a value indicating whether this instance is hidden. | |
void | setIsHidden (bool newIsHidden) |
Gets or sets a value indicating whether this instance is hidden. | |
bool | isDisabled () const |
Gets or sets a value indicating whether this instance is disabled. | |
void | setIsDisabled (bool newIsDisabled) |
Gets or sets a value indicating whether this instance is disabled. | |
std::optional< qint32 > | maxParentalRating () const |
Gets or sets the max parental rating. | |
void | setMaxParentalRating (std::optional< qint32 > newMaxParentalRating) |
Gets or sets the max parental rating. | |
bool | maxParentalRatingNull () const |
void | setMaxParentalRatingNull () |
QStringList | blockedTags () const |
void | setBlockedTags (QStringList newBlockedTags) |
bool | blockedTagsNull () const |
void | setBlockedTagsNull () |
bool | enableUserPreferenceAccess () const |
void | setEnableUserPreferenceAccess (bool newEnableUserPreferenceAccess) |
QList< AccessSchedule > | accessSchedules () const |
void | setAccessSchedules (QList< AccessSchedule > newAccessSchedules) |
bool | accessSchedulesNull () const |
void | setAccessSchedulesNull () |
QList< UnratedItem > | blockUnratedItems () const |
void | setBlockUnratedItems (QList< UnratedItem > newBlockUnratedItems) |
bool | blockUnratedItemsNull () const |
void | setBlockUnratedItemsNull () |
bool | enableRemoteControlOfOtherUsers () const |
void | setEnableRemoteControlOfOtherUsers (bool newEnableRemoteControlOfOtherUsers) |
bool | enableSharedDeviceControl () const |
void | setEnableSharedDeviceControl (bool newEnableSharedDeviceControl) |
bool | enableRemoteAccess () const |
void | setEnableRemoteAccess (bool newEnableRemoteAccess) |
bool | enableLiveTvManagement () const |
void | setEnableLiveTvManagement (bool newEnableLiveTvManagement) |
bool | enableLiveTvAccess () const |
void | setEnableLiveTvAccess (bool newEnableLiveTvAccess) |
bool | enableMediaPlayback () const |
void | setEnableMediaPlayback (bool newEnableMediaPlayback) |
bool | enableAudioPlaybackTranscoding () const |
void | setEnableAudioPlaybackTranscoding (bool newEnableAudioPlaybackTranscoding) |
bool | enableVideoPlaybackTranscoding () const |
void | setEnableVideoPlaybackTranscoding (bool newEnableVideoPlaybackTranscoding) |
bool | enablePlaybackRemuxing () const |
void | setEnablePlaybackRemuxing (bool newEnablePlaybackRemuxing) |
bool | forceRemoteSourceTranscoding () const |
void | setForceRemoteSourceTranscoding (bool newForceRemoteSourceTranscoding) |
bool | enableContentDeletion () const |
void | setEnableContentDeletion (bool newEnableContentDeletion) |
QStringList | enableContentDeletionFromFolders () const |
void | setEnableContentDeletionFromFolders (QStringList newEnableContentDeletionFromFolders) |
bool | enableContentDeletionFromFoldersNull () const |
void | setEnableContentDeletionFromFoldersNull () |
bool | enableContentDownloading () const |
void | setEnableContentDownloading (bool newEnableContentDownloading) |
bool | enableSyncTranscoding () const |
Gets or sets a value indicating whether [enable synchronize]. | |
void | setEnableSyncTranscoding (bool newEnableSyncTranscoding) |
Gets or sets a value indicating whether [enable synchronize]. | |
bool | enableMediaConversion () const |
void | setEnableMediaConversion (bool newEnableMediaConversion) |
QStringList | enabledDevices () const |
void | setEnabledDevices (QStringList newEnabledDevices) |
bool | enabledDevicesNull () const |
void | setEnabledDevicesNull () |
bool | enableAllDevices () const |
void | setEnableAllDevices (bool newEnableAllDevices) |
QStringList | enabledChannels () const |
void | setEnabledChannels (QStringList newEnabledChannels) |
bool | enabledChannelsNull () const |
void | setEnabledChannelsNull () |
bool | enableAllChannels () const |
void | setEnableAllChannels (bool newEnableAllChannels) |
QStringList | enabledFolders () const |
void | setEnabledFolders (QStringList newEnabledFolders) |
bool | enabledFoldersNull () const |
void | setEnabledFoldersNull () |
bool | enableAllFolders () const |
void | setEnableAllFolders (bool newEnableAllFolders) |
qint32 | invalidLoginAttemptCount () const |
void | setInvalidLoginAttemptCount (qint32 newInvalidLoginAttemptCount) |
qint32 | loginAttemptsBeforeLockout () const |
void | setLoginAttemptsBeforeLockout (qint32 newLoginAttemptsBeforeLockout) |
qint32 | maxActiveSessions () const |
void | setMaxActiveSessions (qint32 newMaxActiveSessions) |
bool | enablePublicSharing () const |
void | setEnablePublicSharing (bool newEnablePublicSharing) |
QStringList | blockedMediaFolders () const |
void | setBlockedMediaFolders (QStringList newBlockedMediaFolders) |
bool | blockedMediaFoldersNull () const |
void | setBlockedMediaFoldersNull () |
QStringList | blockedChannels () const |
void | setBlockedChannels (QStringList newBlockedChannels) |
bool | blockedChannelsNull () const |
void | setBlockedChannelsNull () |
qint32 | remoteClientBitrateLimit () const |
void | setRemoteClientBitrateLimit (qint32 newRemoteClientBitrateLimit) |
QString | authenticationProviderId () const |
void | setAuthenticationProviderId (QString newAuthenticationProviderId) |
bool | authenticationProviderIdNull () const |
void | setAuthenticationProviderIdNull () |
QString | passwordResetProviderId () const |
void | setPasswordResetProviderId (QString newPasswordResetProviderId) |
bool | passwordResetProviderIdNull () const |
void | setPasswordResetProviderIdNull () |
SyncPlayUserAccessType | syncPlayAccess () const |
void | setSyncPlayAccess (SyncPlayUserAccessType newSyncPlayAccess) |
Static Public Member Functions | |
static UserPolicy | fromJson (QJsonObject source) |
Jellyfin::DTO::UserPolicy::UserPolicy | ( | bool | isAdministrator, |
bool | isHidden, | ||
bool | isDisabled, | ||
bool | enableUserPreferenceAccess, | ||
bool | enableRemoteControlOfOtherUsers, | ||
bool | enableSharedDeviceControl, | ||
bool | enableRemoteAccess, | ||
bool | enableLiveTvManagement, | ||
bool | enableLiveTvAccess, | ||
bool | enableMediaPlayback, | ||
bool | enableAudioPlaybackTranscoding, | ||
bool | enableVideoPlaybackTranscoding, | ||
bool | enablePlaybackRemuxing, | ||
bool | forceRemoteSourceTranscoding, | ||
bool | enableContentDeletion, | ||
bool | enableContentDownloading, | ||
bool | enableSyncTranscoding, | ||
bool | enableMediaConversion, | ||
bool | enableAllDevices, | ||
bool | enableAllChannels, | ||
bool | enableAllFolders, | ||
qint32 | invalidLoginAttemptCount, | ||
qint32 | loginAttemptsBeforeLockout, | ||
qint32 | maxActiveSessions, | ||
bool | enablePublicSharing, | ||
qint32 | remoteClientBitrateLimit, | ||
SyncPlayUserAccessType | syncPlayAccess ) |
Jellyfin::DTO::UserPolicy::UserPolicy | ( | const UserPolicy & | other | ) |
QList< AccessSchedule > Jellyfin::DTO::UserPolicy::accessSchedules | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::accessSchedulesNull | ( | ) | const |
QString Jellyfin::DTO::UserPolicy::authenticationProviderId | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::authenticationProviderIdNull | ( | ) | const |
QStringList Jellyfin::DTO::UserPolicy::blockedChannels | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::blockedChannelsNull | ( | ) | const |
QStringList Jellyfin::DTO::UserPolicy::blockedMediaFolders | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::blockedMediaFoldersNull | ( | ) | const |
QStringList Jellyfin::DTO::UserPolicy::blockedTags | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::blockedTagsNull | ( | ) | const |
QList< UnratedItem > Jellyfin::DTO::UserPolicy::blockUnratedItems | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::blockUnratedItemsNull | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableAllChannels | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableAllDevices | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableAllFolders | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableAudioPlaybackTranscoding | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableContentDeletion | ( | ) | const |
QStringList Jellyfin::DTO::UserPolicy::enableContentDeletionFromFolders | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableContentDeletionFromFoldersNull | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableContentDownloading | ( | ) | const |
QStringList Jellyfin::DTO::UserPolicy::enabledChannels | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enabledChannelsNull | ( | ) | const |
QStringList Jellyfin::DTO::UserPolicy::enabledDevices | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enabledDevicesNull | ( | ) | const |
QStringList Jellyfin::DTO::UserPolicy::enabledFolders | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enabledFoldersNull | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableLiveTvAccess | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableLiveTvManagement | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableMediaConversion | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableMediaPlayback | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enablePlaybackRemuxing | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enablePublicSharing | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableRemoteAccess | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableRemoteControlOfOtherUsers | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableSharedDeviceControl | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableSyncTranscoding | ( | ) | const |
Gets or sets a value indicating whether [enable synchronize].
bool Jellyfin::DTO::UserPolicy::enableUserPreferenceAccess | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::enableVideoPlaybackTranscoding | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::forceRemoteSourceTranscoding | ( | ) | const |
|
static |
qint32 Jellyfin::DTO::UserPolicy::invalidLoginAttemptCount | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::isAdministrator | ( | ) | const |
Gets or sets a value indicating whether this instance is administrator.
bool Jellyfin::DTO::UserPolicy::isDisabled | ( | ) | const |
Gets or sets a value indicating whether this instance is disabled.
bool Jellyfin::DTO::UserPolicy::isHidden | ( | ) | const |
Gets or sets a value indicating whether this instance is hidden.
qint32 Jellyfin::DTO::UserPolicy::loginAttemptsBeforeLockout | ( | ) | const |
qint32 Jellyfin::DTO::UserPolicy::maxActiveSessions | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::UserPolicy::maxParentalRating | ( | ) | const |
Gets or sets the max parental rating.
bool Jellyfin::DTO::UserPolicy::maxParentalRatingNull | ( | ) | const |
QString Jellyfin::DTO::UserPolicy::passwordResetProviderId | ( | ) | const |
bool Jellyfin::DTO::UserPolicy::passwordResetProviderIdNull | ( | ) | const |
qint32 Jellyfin::DTO::UserPolicy::remoteClientBitrateLimit | ( | ) | const |
void Jellyfin::DTO::UserPolicy::replaceData | ( | UserPolicy & | other | ) |
Replaces the data being hold by this class with that of the other.
void Jellyfin::DTO::UserPolicy::setAccessSchedules | ( | QList< AccessSchedule > | newAccessSchedules | ) |
void Jellyfin::DTO::UserPolicy::setAccessSchedulesNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setAuthenticationProviderId | ( | QString | newAuthenticationProviderId | ) |
void Jellyfin::DTO::UserPolicy::setAuthenticationProviderIdNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setBlockedChannels | ( | QStringList | newBlockedChannels | ) |
void Jellyfin::DTO::UserPolicy::setBlockedChannelsNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setBlockedMediaFolders | ( | QStringList | newBlockedMediaFolders | ) |
void Jellyfin::DTO::UserPolicy::setBlockedMediaFoldersNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setBlockedTags | ( | QStringList | newBlockedTags | ) |
void Jellyfin::DTO::UserPolicy::setBlockedTagsNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setBlockUnratedItems | ( | QList< UnratedItem > | newBlockUnratedItems | ) |
void Jellyfin::DTO::UserPolicy::setBlockUnratedItemsNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setEnableAllChannels | ( | bool | newEnableAllChannels | ) |
void Jellyfin::DTO::UserPolicy::setEnableAllDevices | ( | bool | newEnableAllDevices | ) |
void Jellyfin::DTO::UserPolicy::setEnableAllFolders | ( | bool | newEnableAllFolders | ) |
void Jellyfin::DTO::UserPolicy::setEnableAudioPlaybackTranscoding | ( | bool | newEnableAudioPlaybackTranscoding | ) |
void Jellyfin::DTO::UserPolicy::setEnableContentDeletion | ( | bool | newEnableContentDeletion | ) |
void Jellyfin::DTO::UserPolicy::setEnableContentDeletionFromFolders | ( | QStringList | newEnableContentDeletionFromFolders | ) |
void Jellyfin::DTO::UserPolicy::setEnableContentDeletionFromFoldersNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setEnableContentDownloading | ( | bool | newEnableContentDownloading | ) |
void Jellyfin::DTO::UserPolicy::setEnabledChannels | ( | QStringList | newEnabledChannels | ) |
void Jellyfin::DTO::UserPolicy::setEnabledChannelsNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setEnabledDevices | ( | QStringList | newEnabledDevices | ) |
void Jellyfin::DTO::UserPolicy::setEnabledDevicesNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setEnabledFolders | ( | QStringList | newEnabledFolders | ) |
void Jellyfin::DTO::UserPolicy::setEnabledFoldersNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setEnableLiveTvAccess | ( | bool | newEnableLiveTvAccess | ) |
void Jellyfin::DTO::UserPolicy::setEnableLiveTvManagement | ( | bool | newEnableLiveTvManagement | ) |
void Jellyfin::DTO::UserPolicy::setEnableMediaConversion | ( | bool | newEnableMediaConversion | ) |
void Jellyfin::DTO::UserPolicy::setEnableMediaPlayback | ( | bool | newEnableMediaPlayback | ) |
void Jellyfin::DTO::UserPolicy::setEnablePlaybackRemuxing | ( | bool | newEnablePlaybackRemuxing | ) |
void Jellyfin::DTO::UserPolicy::setEnablePublicSharing | ( | bool | newEnablePublicSharing | ) |
void Jellyfin::DTO::UserPolicy::setEnableRemoteAccess | ( | bool | newEnableRemoteAccess | ) |
void Jellyfin::DTO::UserPolicy::setEnableRemoteControlOfOtherUsers | ( | bool | newEnableRemoteControlOfOtherUsers | ) |
void Jellyfin::DTO::UserPolicy::setEnableSharedDeviceControl | ( | bool | newEnableSharedDeviceControl | ) |
void Jellyfin::DTO::UserPolicy::setEnableSyncTranscoding | ( | bool | newEnableSyncTranscoding | ) |
Gets or sets a value indicating whether [enable synchronize].
void Jellyfin::DTO::UserPolicy::setEnableUserPreferenceAccess | ( | bool | newEnableUserPreferenceAccess | ) |
void Jellyfin::DTO::UserPolicy::setEnableVideoPlaybackTranscoding | ( | bool | newEnableVideoPlaybackTranscoding | ) |
void Jellyfin::DTO::UserPolicy::setForceRemoteSourceTranscoding | ( | bool | newForceRemoteSourceTranscoding | ) |
void Jellyfin::DTO::UserPolicy::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::UserPolicy::setInvalidLoginAttemptCount | ( | qint32 | newInvalidLoginAttemptCount | ) |
void Jellyfin::DTO::UserPolicy::setIsAdministrator | ( | bool | newIsAdministrator | ) |
Gets or sets a value indicating whether this instance is administrator.
void Jellyfin::DTO::UserPolicy::setIsDisabled | ( | bool | newIsDisabled | ) |
Gets or sets a value indicating whether this instance is disabled.
void Jellyfin::DTO::UserPolicy::setIsHidden | ( | bool | newIsHidden | ) |
Gets or sets a value indicating whether this instance is hidden.
void Jellyfin::DTO::UserPolicy::setLoginAttemptsBeforeLockout | ( | qint32 | newLoginAttemptsBeforeLockout | ) |
void Jellyfin::DTO::UserPolicy::setMaxActiveSessions | ( | qint32 | newMaxActiveSessions | ) |
void Jellyfin::DTO::UserPolicy::setMaxParentalRating | ( | std::optional< qint32 > | newMaxParentalRating | ) |
Gets or sets the max parental rating.
void Jellyfin::DTO::UserPolicy::setMaxParentalRatingNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setPasswordResetProviderId | ( | QString | newPasswordResetProviderId | ) |
void Jellyfin::DTO::UserPolicy::setPasswordResetProviderIdNull | ( | ) |
void Jellyfin::DTO::UserPolicy::setRemoteClientBitrateLimit | ( | qint32 | newRemoteClientBitrateLimit | ) |
void Jellyfin::DTO::UserPolicy::setSyncPlayAccess | ( | SyncPlayUserAccessType | newSyncPlayAccess | ) |
SyncPlayUserAccessType Jellyfin::DTO::UserPolicy::syncPlayAccess | ( | ) | const |
QJsonObject Jellyfin::DTO::UserPolicy::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |