108 lines
2.6 KiB
TypeScript
108 lines
2.6 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 { DeviceInfoCapabilities } from './deviceInfoCapabilities';
|
||
|
|
||
|
export class DeviceInfo {
|
||
|
'name'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the access token.
|
||
|
*/
|
||
|
'accessToken'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the identifier.
|
||
|
*/
|
||
|
'id'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the last name of the user.
|
||
|
*/
|
||
|
'lastUserName'?: 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 last user identifier.
|
||
|
*/
|
||
|
'lastUserId'?: string;
|
||
|
/**
|
||
|
* Gets or sets the date last modified.
|
||
|
*/
|
||
|
'dateLastActivity'?: Date;
|
||
|
'capabilities'?: DeviceInfoCapabilities | null;
|
||
|
'iconUrl'?: string | null;
|
||
|
|
||
|
static discriminator: string | undefined = undefined;
|
||
|
|
||
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
||
|
{
|
||
|
"name": "name",
|
||
|
"baseName": "Name",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "accessToken",
|
||
|
"baseName": "AccessToken",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "id",
|
||
|
"baseName": "Id",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "lastUserName",
|
||
|
"baseName": "LastUserName",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "appName",
|
||
|
"baseName": "AppName",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "appVersion",
|
||
|
"baseName": "AppVersion",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "lastUserId",
|
||
|
"baseName": "LastUserId",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "dateLastActivity",
|
||
|
"baseName": "DateLastActivity",
|
||
|
"type": "Date"
|
||
|
},
|
||
|
{
|
||
|
"name": "capabilities",
|
||
|
"baseName": "Capabilities",
|
||
|
"type": "DeviceInfoCapabilities"
|
||
|
},
|
||
|
{
|
||
|
"name": "iconUrl",
|
||
|
"baseName": "IconUrl",
|
||
|
"type": "string"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return DeviceInfo.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|