jellyfin-discord-bot/jellyfin/model/userDto.ts

151 lines
3.9 KiB
TypeScript
Raw Normal View History

2023-04-15 22:02:40 +02:00
/**
* 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 { UserDtoConfiguration } from './userDtoConfiguration';
import { UserDtoPolicy } from './userDtoPolicy';
/**
* Class UserDto.
*/
export class UserDto {
/**
* Gets or sets the name.
*/
'name'?: string | null;
/**
* Gets or sets the server identifier.
*/
'serverId'?: string | null;
/**
* Gets or sets the name of the server. This is not used by the server and is for client-side usage only.
*/
'serverName'?: string | null;
/**
* Gets or sets the id.
*/
'id'?: string;
/**
* Gets or sets the primary image tag.
*/
'primaryImageTag'?: string | null;
/**
* Gets or sets a value indicating whether this instance has password.
*/
'hasPassword'?: boolean;
/**
* Gets or sets a value indicating whether this instance has configured password.
*/
'hasConfiguredPassword'?: boolean;
/**
* Gets or sets a value indicating whether this instance has configured easy password.
*/
'hasConfiguredEasyPassword'?: boolean;
/**
* Gets or sets whether async login is enabled or not.
*/
'enableAutoLogin'?: boolean | null;
/**
* Gets or sets the last login date.
*/
'lastLoginDate'?: Date | null;
/**
* Gets or sets the last activity date.
*/
'lastActivityDate'?: Date | null;
'configuration'?: UserDtoConfiguration | null;
'policy'?: UserDtoPolicy | null;
/**
* Gets or sets the primary image aspect ratio.
*/
'primaryImageAspectRatio'?: number | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "Name",
"type": "string"
},
{
"name": "serverId",
"baseName": "ServerId",
"type": "string"
},
{
"name": "serverName",
"baseName": "ServerName",
"type": "string"
},
{
"name": "id",
"baseName": "Id",
"type": "string"
},
{
"name": "primaryImageTag",
"baseName": "PrimaryImageTag",
"type": "string"
},
{
"name": "hasPassword",
"baseName": "HasPassword",
"type": "boolean"
},
{
"name": "hasConfiguredPassword",
"baseName": "HasConfiguredPassword",
"type": "boolean"
},
{
"name": "hasConfiguredEasyPassword",
"baseName": "HasConfiguredEasyPassword",
"type": "boolean"
},
{
"name": "enableAutoLogin",
"baseName": "EnableAutoLogin",
"type": "boolean"
},
{
"name": "lastLoginDate",
"baseName": "LastLoginDate",
"type": "Date"
},
{
"name": "lastActivityDate",
"baseName": "LastActivityDate",
"type": "Date"
},
{
"name": "configuration",
"baseName": "Configuration",
"type": "UserDtoConfiguration"
},
{
"name": "policy",
"baseName": "Policy",
"type": "UserDtoPolicy"
},
{
"name": "primaryImageAspectRatio",
"baseName": "PrimaryImageAspectRatio",
"type": "number"
} ];
static getAttributeTypeMap() {
return UserDto.attributeTypeMap;
}
}