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

52 lines
1.5 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 { AuthenticationResultSessionInfo } from './authenticationResultSessionInfo';
import { AuthenticationResultUser } from './authenticationResultUser';
export class AuthenticationResult {
'user'?: AuthenticationResultUser | null;
'sessionInfo'?: AuthenticationResultSessionInfo | null;
'accessToken'?: string | null;
'serverId'?: string | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "user",
"baseName": "User",
"type": "AuthenticationResultUser"
},
{
"name": "sessionInfo",
"baseName": "SessionInfo",
"type": "AuthenticationResultSessionInfo"
},
{
"name": "accessToken",
"baseName": "AccessToken",
"type": "string"
},
{
"name": "serverId",
"baseName": "ServerId",
"type": "string"
} ];
static getAttributeTypeMap() {
return AuthenticationResult.attributeTypeMap;
}
}