283 lines
8.4 KiB
TypeScript
283 lines
8.4 KiB
TypeScript
|
/**
|
||
|
* Jellyfin API
|
||
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
||
|
*
|
||
|
* The version of the OpenAPI document: 10.8.9
|
||
|
*
|
||
|
*
|
||
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||
|
* https://openapi-generator.tech
|
||
|
* Do not edit the class manually.
|
||
|
*/
|
||
|
|
||
|
import { RequestFile } from './models';
|
||
|
import { AccessSchedule } from './accessSchedule';
|
||
|
import { SyncPlayUserAccessType } from './syncPlayUserAccessType';
|
||
|
import { UnratedItem } from './unratedItem';
|
||
|
|
||
|
/**
|
||
|
* Gets or sets the policy.
|
||
|
*/
|
||
|
export class UserDtoPolicy {
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this instance is administrator.
|
||
|
*/
|
||
|
'isAdministrator'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this instance is hidden.
|
||
|
*/
|
||
|
'isHidden'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this instance is disabled.
|
||
|
*/
|
||
|
'isDisabled'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets the max parental rating.
|
||
|
*/
|
||
|
'maxParentalRating'?: number | null;
|
||
|
'blockedTags'?: Array<string> | null;
|
||
|
'enableUserPreferenceAccess'?: boolean;
|
||
|
'accessSchedules'?: Array<AccessSchedule> | null;
|
||
|
'blockUnratedItems'?: Array<UnratedItem> | null;
|
||
|
'enableRemoteControlOfOtherUsers'?: boolean;
|
||
|
'enableSharedDeviceControl'?: boolean;
|
||
|
'enableRemoteAccess'?: boolean;
|
||
|
'enableLiveTvManagement'?: boolean;
|
||
|
'enableLiveTvAccess'?: boolean;
|
||
|
'enableMediaPlayback'?: boolean;
|
||
|
'enableAudioPlaybackTranscoding'?: boolean;
|
||
|
'enableVideoPlaybackTranscoding'?: boolean;
|
||
|
'enablePlaybackRemuxing'?: boolean;
|
||
|
'forceRemoteSourceTranscoding'?: boolean;
|
||
|
'enableContentDeletion'?: boolean;
|
||
|
'enableContentDeletionFromFolders'?: Array<string> | null;
|
||
|
'enableContentDownloading'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether [enable synchronize].
|
||
|
*/
|
||
|
'enableSyncTranscoding'?: boolean;
|
||
|
'enableMediaConversion'?: boolean;
|
||
|
'enabledDevices'?: Array<string> | null;
|
||
|
'enableAllDevices'?: boolean;
|
||
|
'enabledChannels'?: Array<string> | null;
|
||
|
'enableAllChannels'?: boolean;
|
||
|
'enabledFolders'?: Array<string> | null;
|
||
|
'enableAllFolders'?: boolean;
|
||
|
'invalidLoginAttemptCount'?: number;
|
||
|
'loginAttemptsBeforeLockout'?: number;
|
||
|
'maxActiveSessions'?: number;
|
||
|
'enablePublicSharing'?: boolean;
|
||
|
'blockedMediaFolders'?: Array<string> | null;
|
||
|
'blockedChannels'?: Array<string> | null;
|
||
|
'remoteClientBitrateLimit'?: number;
|
||
|
'authenticationProviderId'?: string | null;
|
||
|
'passwordResetProviderId'?: string | null;
|
||
|
'syncPlayAccess'?: SyncPlayUserAccessType;
|
||
|
|
||
|
static discriminator: string | undefined = undefined;
|
||
|
|
||
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
||
|
{
|
||
|
"name": "isAdministrator",
|
||
|
"baseName": "IsAdministrator",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "isHidden",
|
||
|
"baseName": "IsHidden",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "isDisabled",
|
||
|
"baseName": "IsDisabled",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxParentalRating",
|
||
|
"baseName": "MaxParentalRating",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "blockedTags",
|
||
|
"baseName": "BlockedTags",
|
||
|
"type": "Array<string>"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableUserPreferenceAccess",
|
||
|
"baseName": "EnableUserPreferenceAccess",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "accessSchedules",
|
||
|
"baseName": "AccessSchedules",
|
||
|
"type": "Array<AccessSchedule>"
|
||
|
},
|
||
|
{
|
||
|
"name": "blockUnratedItems",
|
||
|
"baseName": "BlockUnratedItems",
|
||
|
"type": "Array<UnratedItem>"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableRemoteControlOfOtherUsers",
|
||
|
"baseName": "EnableRemoteControlOfOtherUsers",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableSharedDeviceControl",
|
||
|
"baseName": "EnableSharedDeviceControl",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableRemoteAccess",
|
||
|
"baseName": "EnableRemoteAccess",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableLiveTvManagement",
|
||
|
"baseName": "EnableLiveTvManagement",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableLiveTvAccess",
|
||
|
"baseName": "EnableLiveTvAccess",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableMediaPlayback",
|
||
|
"baseName": "EnableMediaPlayback",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableAudioPlaybackTranscoding",
|
||
|
"baseName": "EnableAudioPlaybackTranscoding",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableVideoPlaybackTranscoding",
|
||
|
"baseName": "EnableVideoPlaybackTranscoding",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enablePlaybackRemuxing",
|
||
|
"baseName": "EnablePlaybackRemuxing",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "forceRemoteSourceTranscoding",
|
||
|
"baseName": "ForceRemoteSourceTranscoding",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableContentDeletion",
|
||
|
"baseName": "EnableContentDeletion",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableContentDeletionFromFolders",
|
||
|
"baseName": "EnableContentDeletionFromFolders",
|
||
|
"type": "Array<string>"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableContentDownloading",
|
||
|
"baseName": "EnableContentDownloading",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableSyncTranscoding",
|
||
|
"baseName": "EnableSyncTranscoding",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableMediaConversion",
|
||
|
"baseName": "EnableMediaConversion",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enabledDevices",
|
||
|
"baseName": "EnabledDevices",
|
||
|
"type": "Array<string>"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableAllDevices",
|
||
|
"baseName": "EnableAllDevices",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enabledChannels",
|
||
|
"baseName": "EnabledChannels",
|
||
|
"type": "Array<string>"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableAllChannels",
|
||
|
"baseName": "EnableAllChannels",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "enabledFolders",
|
||
|
"baseName": "EnabledFolders",
|
||
|
"type": "Array<string>"
|
||
|
},
|
||
|
{
|
||
|
"name": "enableAllFolders",
|
||
|
"baseName": "EnableAllFolders",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "invalidLoginAttemptCount",
|
||
|
"baseName": "InvalidLoginAttemptCount",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "loginAttemptsBeforeLockout",
|
||
|
"baseName": "LoginAttemptsBeforeLockout",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "maxActiveSessions",
|
||
|
"baseName": "MaxActiveSessions",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "enablePublicSharing",
|
||
|
"baseName": "EnablePublicSharing",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "blockedMediaFolders",
|
||
|
"baseName": "BlockedMediaFolders",
|
||
|
"type": "Array<string>"
|
||
|
},
|
||
|
{
|
||
|
"name": "blockedChannels",
|
||
|
"baseName": "BlockedChannels",
|
||
|
"type": "Array<string>"
|
||
|
},
|
||
|
{
|
||
|
"name": "remoteClientBitrateLimit",
|
||
|
"baseName": "RemoteClientBitrateLimit",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "authenticationProviderId",
|
||
|
"baseName": "AuthenticationProviderId",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "passwordResetProviderId",
|
||
|
"baseName": "PasswordResetProviderId",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "syncPlayAccess",
|
||
|
"baseName": "SyncPlayAccess",
|
||
|
"type": "SyncPlayUserAccessType"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return UserDtoPolicy.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export namespace UserDtoPolicy {
|
||
|
}
|