128 lines
3.0 KiB
TypeScript
128 lines
3.0 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';
|
|
|
|
export class AuthenticationInfo {
|
|
/**
|
|
* Gets or sets the identifier.
|
|
*/
|
|
'id'?: number;
|
|
/**
|
|
* Gets or sets the access token.
|
|
*/
|
|
'accessToken'?: string | null;
|
|
/**
|
|
* Gets or sets the device identifier.
|
|
*/
|
|
'deviceId'?: string | null;
|
|
/**
|
|
* Gets or sets the name of the application.
|
|
*/
|
|
'appName'?: string | null;
|
|
/**
|
|
* Gets or sets the application version.
|
|
*/
|
|
'appVersion'?: string | null;
|
|
/**
|
|
* Gets or sets the name of the device.
|
|
*/
|
|
'deviceName'?: string | null;
|
|
/**
|
|
* Gets or sets the user identifier.
|
|
*/
|
|
'userId'?: string;
|
|
/**
|
|
* Gets or sets a value indicating whether this instance is active.
|
|
*/
|
|
'isActive'?: boolean;
|
|
/**
|
|
* Gets or sets the date created.
|
|
*/
|
|
'dateCreated'?: Date;
|
|
/**
|
|
* Gets or sets the date revoked.
|
|
*/
|
|
'dateRevoked'?: Date | null;
|
|
'dateLastActivity'?: Date;
|
|
'userName'?: string | null;
|
|
|
|
static discriminator: string | undefined = undefined;
|
|
|
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
{
|
|
"name": "id",
|
|
"baseName": "Id",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "accessToken",
|
|
"baseName": "AccessToken",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "deviceId",
|
|
"baseName": "DeviceId",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "appName",
|
|
"baseName": "AppName",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "appVersion",
|
|
"baseName": "AppVersion",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "deviceName",
|
|
"baseName": "DeviceName",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "userId",
|
|
"baseName": "UserId",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "isActive",
|
|
"baseName": "IsActive",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "dateCreated",
|
|
"baseName": "DateCreated",
|
|
"type": "Date"
|
|
},
|
|
{
|
|
"name": "dateRevoked",
|
|
"baseName": "DateRevoked",
|
|
"type": "Date"
|
|
},
|
|
{
|
|
"name": "dateLastActivity",
|
|
"baseName": "DateLastActivity",
|
|
"type": "Date"
|
|
},
|
|
{
|
|
"name": "userName",
|
|
"baseName": "UserName",
|
|
"type": "string"
|
|
} ];
|
|
|
|
static getAttributeTypeMap() {
|
|
return AuthenticationInfo.attributeTypeMap;
|
|
}
|
|
}
|
|
|