101 lines
2.5 KiB
TypeScript
101 lines
2.5 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';
|
||
|
|
||
|
/**
|
||
|
* Stores the state of an quick connect request.
|
||
|
*/
|
||
|
export class QuickConnectResult {
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this request is authorized.
|
||
|
*/
|
||
|
'authenticated'?: boolean;
|
||
|
/**
|
||
|
* Gets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.
|
||
|
*/
|
||
|
'secret'?: string;
|
||
|
/**
|
||
|
* Gets the user facing code used so the user can quickly differentiate this request from others.
|
||
|
*/
|
||
|
'code'?: string;
|
||
|
/**
|
||
|
* Gets the requesting device id.
|
||
|
*/
|
||
|
'deviceId'?: string;
|
||
|
/**
|
||
|
* Gets the requesting device name.
|
||
|
*/
|
||
|
'deviceName'?: string;
|
||
|
/**
|
||
|
* Gets the requesting app name.
|
||
|
*/
|
||
|
'appName'?: string;
|
||
|
/**
|
||
|
* Gets the requesting app version.
|
||
|
*/
|
||
|
'appVersion'?: string;
|
||
|
/**
|
||
|
* Gets or sets the DateTime that this request was created.
|
||
|
*/
|
||
|
'dateAdded'?: Date;
|
||
|
|
||
|
static discriminator: string | undefined = undefined;
|
||
|
|
||
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
||
|
{
|
||
|
"name": "authenticated",
|
||
|
"baseName": "Authenticated",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "secret",
|
||
|
"baseName": "Secret",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "code",
|
||
|
"baseName": "Code",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "deviceId",
|
||
|
"baseName": "DeviceId",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "deviceName",
|
||
|
"baseName": "DeviceName",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "appName",
|
||
|
"baseName": "AppName",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "appVersion",
|
||
|
"baseName": "AppVersion",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "dateAdded",
|
||
|
"baseName": "DateAdded",
|
||
|
"type": "Date"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return QuickConnectResult.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|