30#ifndef JELLYFIN_DTO_USERPOLICY_H
31#define JELLYFIN_DTO_USERPOLICY_H
94 QJsonObject
toJson()
const;
Value
Definition syncplayuseraccesstype.h:49
Definition userpolicy.h:53
bool enablePublicSharing() const
Definition userpolicy.cpp:571
bool isDisabled() const
Gets or sets a value indicating whether this instance is disabled.
Definition userpolicy.cpp:335
bool m_enableAudioPlaybackTranscoding
Definition userpolicy.h:352
QString m_authenticationProviderId
Definition userpolicy.h:374
void setAuthenticationProviderId(QString newAuthenticationProviderId)
Definition userpolicy.cpp:611
QString m_passwordResetProviderId
Definition userpolicy.h:375
bool enablePlaybackRemuxing() const
Definition userpolicy.cpp:447
bool enableContentDeletion() const
Definition userpolicy.cpp:459
void setEnableContentDeletion(bool newEnableContentDeletion)
Definition userpolicy.cpp:461
bool authenticationProviderIdNull() const
Definition userpolicy.cpp:614
QStringList enabledFolders() const
Definition userpolicy.cpp:534
std::optional< qint32 > m_maxParentalRating
Definition userpolicy.h:341
void setEnableRemoteAccess(bool newEnableRemoteAccess)
Definition userpolicy.cpp:413
QStringList enabledDevices() const
Definition userpolicy.cpp:496
bool m_enableMediaPlayback
Definition userpolicy.h:351
QList< AccessSchedule > m_accessSchedules
Definition userpolicy.h:344
void setMaxParentalRating(std::optional< qint32 > newMaxParentalRating)
Gets or sets the max parental rating.
Definition userpolicy.cpp:343
QStringList enabledChannels() const
Definition userpolicy.cpp:515
qint32 m_loginAttemptsBeforeLockout
Definition userpolicy.h:368
bool m_enableSharedDeviceControl
Definition userpolicy.h:347
bool enableSyncTranscoding() const
Gets or sets a value indicating whether [enable synchronize].
Definition userpolicy.cpp:484
bool m_enableRemoteControlOfOtherUsers
Definition userpolicy.h:346
bool m_enableContentDeletion
Definition userpolicy.h:356
qint32 invalidLoginAttemptCount() const
Definition userpolicy.cpp:553
void setMaxParentalRatingNull()
Definition userpolicy.cpp:350
void setBlockedMediaFolders(QStringList newBlockedMediaFolders)
Definition userpolicy.cpp:579
bool forceRemoteSourceTranscoding() const
Definition userpolicy.cpp:453
bool accessSchedulesNull() const
Definition userpolicy.cpp:378
void setEnableAllFolders(bool newEnableAllFolders)
Definition userpolicy.cpp:549
SyncPlayUserAccessType syncPlayAccess() const
Definition userpolicy.cpp:635
void setEnableVideoPlaybackTranscoding(bool newEnableVideoPlaybackTranscoding)
Definition userpolicy.cpp:443
bool m_enableMediaConversion
Definition userpolicy.h:360
bool enableContentDeletionFromFoldersNull() const
Definition userpolicy.cpp:470
void setIsDisabled(bool newIsDisabled)
Gets or sets a value indicating whether this instance is disabled.
Definition userpolicy.cpp:337
void setLoginAttemptsBeforeLockout(qint32 newLoginAttemptsBeforeLockout)
Definition userpolicy.cpp:561
bool blockedChannelsNull() const
Definition userpolicy.cpp:595
bool enableUserPreferenceAccess() const
Definition userpolicy.cpp:367
bool m_enableRemoteAccess
Definition userpolicy.h:348
bool blockedTagsNull() const
Definition userpolicy.cpp:359
bool enableAllChannels() const
Definition userpolicy.cpp:528
bool enableRemoteControlOfOtherUsers() const
Definition userpolicy.cpp:399
void setEnableMediaConversion(bool newEnableMediaConversion)
Definition userpolicy.cpp:492
bool m_enableContentDownloading
Definition userpolicy.h:358
void setBlockedChannelsNull()
Definition userpolicy.cpp:599
QStringList m_blockedTags
Definition userpolicy.h:342
bool m_enablePublicSharing
Definition userpolicy.h:370
bool enableLiveTvManagement() const
Definition userpolicy.cpp:417
bool maxParentalRatingNull() const
Definition userpolicy.cpp:346
qint32 m_invalidLoginAttemptCount
Definition userpolicy.h:367
bool m_enableAllDevices
Definition userpolicy.h:362
void setFromJson(QJsonObject source)
Definition userpolicy.cpp:187
void setSyncPlayAccess(SyncPlayUserAccessType newSyncPlayAccess)
Definition userpolicy.cpp:637
QStringList m_enableContentDeletionFromFolders
Definition userpolicy.h:357
qint32 m_remoteClientBitrateLimit
Definition userpolicy.h:373
QStringList blockedMediaFolders() const
Definition userpolicy.cpp:577
void setEnabledChannelsNull()
Definition userpolicy.cpp:524
QStringList enableContentDeletionFromFolders() const
Definition userpolicy.cpp:465
void setIsHidden(bool newIsHidden)
Gets or sets a value indicating whether this instance is hidden.
Definition userpolicy.cpp:331
bool enableRemoteAccess() const
Definition userpolicy.cpp:411
bool enableMediaPlayback() const
Definition userpolicy.cpp:429
void setInvalidLoginAttemptCount(qint32 newInvalidLoginAttemptCount)
Definition userpolicy.cpp:555
void setEnabledDevicesNull()
Definition userpolicy.cpp:505
bool enableContentDownloading() const
Definition userpolicy.cpp:478
bool m_forceRemoteSourceTranscoding
Definition userpolicy.h:355
bool enableAllDevices() const
Definition userpolicy.cpp:509
bool isAdministrator() const
Gets or sets a value indicating whether this instance is administrator.
Definition userpolicy.cpp:323
QStringList blockedChannels() const
Definition userpolicy.cpp:590
bool m_enableLiveTvManagement
Definition userpolicy.h:349
void setEnableUserPreferenceAccess(bool newEnableUserPreferenceAccess)
Definition userpolicy.cpp:369
static UserPolicy fromJson(QJsonObject source)
Definition userpolicy.cpp:180
void setEnableAudioPlaybackTranscoding(bool newEnableAudioPlaybackTranscoding)
Definition userpolicy.cpp:437
void setRemoteClientBitrateLimit(qint32 newRemoteClientBitrateLimit)
Definition userpolicy.cpp:605
void setBlockedTags(QStringList newBlockedTags)
Definition userpolicy.cpp:356
bool enableAudioPlaybackTranscoding() const
Definition userpolicy.cpp:435
void setEnableSyncTranscoding(bool newEnableSyncTranscoding)
Gets or sets a value indicating whether [enable synchronize].
Definition userpolicy.cpp:486
void setPasswordResetProviderId(QString newPasswordResetProviderId)
Definition userpolicy.cpp:624
void setBlockedChannels(QStringList newBlockedChannels)
Definition userpolicy.cpp:592
void setEnableContentDeletionFromFolders(QStringList newEnableContentDeletionFromFolders)
Definition userpolicy.cpp:467
void setEnableContentDeletionFromFoldersNull()
Definition userpolicy.cpp:474
bool m_enableUserPreferenceAccess
Definition userpolicy.h:343
QString authenticationProviderId() const
Definition userpolicy.cpp:609
void setEnabledFoldersNull()
Definition userpolicy.cpp:543
void setEnableRemoteControlOfOtherUsers(bool newEnableRemoteControlOfOtherUsers)
Definition userpolicy.cpp:401
SyncPlayUserAccessType m_syncPlayAccess
Definition userpolicy.h:376
void setEnableAllChannels(bool newEnableAllChannels)
Definition userpolicy.cpp:530
void setBlockUnratedItemsNull()
Definition userpolicy.cpp:395
bool m_enableVideoPlaybackTranscoding
Definition userpolicy.h:353
void setEnablePublicSharing(bool newEnablePublicSharing)
Definition userpolicy.cpp:573
bool enableLiveTvAccess() const
Definition userpolicy.cpp:423
qint32 m_maxActiveSessions
Definition userpolicy.h:369
QList< UnratedItem > m_blockUnratedItems
Definition userpolicy.h:345
QStringList blockedTags() const
Definition userpolicy.cpp:354
void setEnableSharedDeviceControl(bool newEnableSharedDeviceControl)
Definition userpolicy.cpp:407
void setPasswordResetProviderIdNull()
Definition userpolicy.cpp:631
bool enableMediaConversion() const
Definition userpolicy.cpp:490
QStringList m_blockedMediaFolders
Definition userpolicy.h:371
bool m_enableAllChannels
Definition userpolicy.h:364
bool isHidden() const
Gets or sets a value indicating whether this instance is hidden.
Definition userpolicy.cpp:329
void setEnableAllDevices(bool newEnableAllDevices)
Definition userpolicy.cpp:511
void setEnableLiveTvAccess(bool newEnableLiveTvAccess)
Definition userpolicy.cpp:425
void setMaxActiveSessions(qint32 newMaxActiveSessions)
Definition userpolicy.cpp:567
bool m_isAdministrator
Definition userpolicy.h:338
void setIsAdministrator(bool newIsAdministrator)
Gets or sets a value indicating whether this instance is administrator.
Definition userpolicy.cpp:325
qint32 remoteClientBitrateLimit() const
Definition userpolicy.cpp:603
QStringList m_enabledChannels
Definition userpolicy.h:363
void setAccessSchedules(QList< AccessSchedule > newAccessSchedules)
Definition userpolicy.cpp:375
std::optional< qint32 > maxParentalRating() const
Gets or sets the max parental rating.
Definition userpolicy.cpp:341
QList< UnratedItem > blockUnratedItems() const
Definition userpolicy.cpp:386
bool enabledChannelsNull() const
Definition userpolicy.cpp:520
QJsonObject toJson() const
Definition userpolicy.cpp:230
bool blockedMediaFoldersNull() const
Definition userpolicy.cpp:582
void setBlockedTagsNull()
Definition userpolicy.cpp:363
void setEnableMediaPlayback(bool newEnableMediaPlayback)
Definition userpolicy.cpp:431
void setEnabledChannels(QStringList newEnabledChannels)
Definition userpolicy.cpp:517
QStringList m_blockedChannels
Definition userpolicy.h:372
bool m_isDisabled
Definition userpolicy.h:340
QList< AccessSchedule > accessSchedules() const
Definition userpolicy.cpp:373
bool blockUnratedItemsNull() const
Definition userpolicy.cpp:391
void setBlockedMediaFoldersNull()
Definition userpolicy.cpp:586
bool enableSharedDeviceControl() const
Definition userpolicy.cpp:405
bool m_enablePlaybackRemuxing
Definition userpolicy.h:354
QStringList m_enabledDevices
Definition userpolicy.h:361
void setAuthenticationProviderIdNull()
Definition userpolicy.cpp:618
void setEnablePlaybackRemuxing(bool newEnablePlaybackRemuxing)
Definition userpolicy.cpp:449
bool enabledFoldersNull() const
Definition userpolicy.cpp:539
bool m_isHidden
Definition userpolicy.h:339
bool m_enableAllFolders
Definition userpolicy.h:366
bool m_enableLiveTvAccess
Definition userpolicy.h:350
bool enabledDevicesNull() const
Definition userpolicy.cpp:501
void setBlockUnratedItems(QList< UnratedItem > newBlockUnratedItems)
Definition userpolicy.cpp:388
void setEnableLiveTvManagement(bool newEnableLiveTvManagement)
Definition userpolicy.cpp:419
void setEnabledDevices(QStringList newEnabledDevices)
Definition userpolicy.cpp:498
void setEnabledFolders(QStringList newEnabledFolders)
Definition userpolicy.cpp:536
bool enableVideoPlaybackTranscoding() const
Definition userpolicy.cpp:441
void replaceData(UserPolicy &other)
Definition userpolicy.cpp:138
void setForceRemoteSourceTranscoding(bool newForceRemoteSourceTranscoding)
Definition userpolicy.cpp:455
void setEnableContentDownloading(bool newEnableContentDownloading)
Definition userpolicy.cpp:480
qint32 maxActiveSessions() const
Definition userpolicy.cpp:565
QString passwordResetProviderId() const
Definition userpolicy.cpp:622
bool enableAllFolders() const
Definition userpolicy.cpp:547
bool passwordResetProviderIdNull() const
Definition userpolicy.cpp:627
bool m_enableSyncTranscoding
Definition userpolicy.h:359
QStringList m_enabledFolders
Definition userpolicy.h:365
void setAccessSchedulesNull()
Definition userpolicy.cpp:382
qint32 loginAttemptsBeforeLockout() const
Definition userpolicy.cpp:559
Definition mediaplayer2.h:20
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