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

65 lines
1.6 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';
/**
* Class ReadyRequest.
*/
export class SyncPlayReadyRequest {
/**
* Gets or sets when the request has been made by the client.
*/
'when'?: Date;
/**
* Gets or sets the position ticks.
*/
'positionTicks'?: number;
/**
* Gets or sets a value indicating whether the client playback is unpaused.
*/
'isPlaying'?: boolean;
/**
* Gets or sets the playlist item identifier of the playing item.
*/
'playlistItemId'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "when",
"baseName": "When",
"type": "Date"
},
{
"name": "positionTicks",
"baseName": "PositionTicks",
"type": "number"
},
{
"name": "isPlaying",
"baseName": "IsPlaying",
"type": "boolean"
},
{
"name": "playlistItemId",
"baseName": "PlaylistItemId",
"type": "string"
} ];
static getAttributeTypeMap() {
return SyncPlayReadyRequest.attributeTypeMap;
}
}