191 lines
4.9 KiB
TypeScript
191 lines
4.9 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 { PlayMethod } from './playMethod';
|
||
|
import { PlaybackProgressInfoItem } from './playbackProgressInfoItem';
|
||
|
import { QueueItem } from './queueItem';
|
||
|
import { RepeatMode } from './repeatMode';
|
||
|
|
||
|
/**
|
||
|
* Class PlaybackProgressInfo.
|
||
|
*/
|
||
|
export class ReportPlaybackProgressRequest {
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this instance can seek.
|
||
|
*/
|
||
|
'canSeek'?: boolean;
|
||
|
'item'?: PlaybackProgressInfoItem | null;
|
||
|
/**
|
||
|
* Gets or sets the item identifier.
|
||
|
*/
|
||
|
'itemId'?: string;
|
||
|
/**
|
||
|
* Gets or sets the session id.
|
||
|
*/
|
||
|
'sessionId'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the media version identifier.
|
||
|
*/
|
||
|
'mediaSourceId'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the index of the audio stream.
|
||
|
*/
|
||
|
'audioStreamIndex'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the index of the subtitle stream.
|
||
|
*/
|
||
|
'subtitleStreamIndex'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this instance is paused.
|
||
|
*/
|
||
|
'isPaused'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets a value indicating whether this instance is muted.
|
||
|
*/
|
||
|
'isMuted'?: boolean;
|
||
|
/**
|
||
|
* Gets or sets the position ticks.
|
||
|
*/
|
||
|
'positionTicks'?: number | null;
|
||
|
'playbackStartTimeTicks'?: number | null;
|
||
|
/**
|
||
|
* Gets or sets the volume level.
|
||
|
*/
|
||
|
'volumeLevel'?: number | null;
|
||
|
'brightness'?: number | null;
|
||
|
'aspectRatio'?: string | null;
|
||
|
'playMethod'?: PlayMethod;
|
||
|
/**
|
||
|
* Gets or sets the live stream identifier.
|
||
|
*/
|
||
|
'liveStreamId'?: string | null;
|
||
|
/**
|
||
|
* Gets or sets the play session identifier.
|
||
|
*/
|
||
|
'playSessionId'?: string | null;
|
||
|
'repeatMode'?: RepeatMode;
|
||
|
'nowPlayingQueue'?: Array<QueueItem> | null;
|
||
|
'playlistItemId'?: string | null;
|
||
|
|
||
|
static discriminator: string | undefined = undefined;
|
||
|
|
||
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
||
|
{
|
||
|
"name": "canSeek",
|
||
|
"baseName": "CanSeek",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "item",
|
||
|
"baseName": "Item",
|
||
|
"type": "PlaybackProgressInfoItem"
|
||
|
},
|
||
|
{
|
||
|
"name": "itemId",
|
||
|
"baseName": "ItemId",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "sessionId",
|
||
|
"baseName": "SessionId",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "mediaSourceId",
|
||
|
"baseName": "MediaSourceId",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "audioStreamIndex",
|
||
|
"baseName": "AudioStreamIndex",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "subtitleStreamIndex",
|
||
|
"baseName": "SubtitleStreamIndex",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "isPaused",
|
||
|
"baseName": "IsPaused",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "isMuted",
|
||
|
"baseName": "IsMuted",
|
||
|
"type": "boolean"
|
||
|
},
|
||
|
{
|
||
|
"name": "positionTicks",
|
||
|
"baseName": "PositionTicks",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "playbackStartTimeTicks",
|
||
|
"baseName": "PlaybackStartTimeTicks",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "volumeLevel",
|
||
|
"baseName": "VolumeLevel",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "brightness",
|
||
|
"baseName": "Brightness",
|
||
|
"type": "number"
|
||
|
},
|
||
|
{
|
||
|
"name": "aspectRatio",
|
||
|
"baseName": "AspectRatio",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "playMethod",
|
||
|
"baseName": "PlayMethod",
|
||
|
"type": "PlayMethod"
|
||
|
},
|
||
|
{
|
||
|
"name": "liveStreamId",
|
||
|
"baseName": "LiveStreamId",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "playSessionId",
|
||
|
"baseName": "PlaySessionId",
|
||
|
"type": "string"
|
||
|
},
|
||
|
{
|
||
|
"name": "repeatMode",
|
||
|
"baseName": "RepeatMode",
|
||
|
"type": "RepeatMode"
|
||
|
},
|
||
|
{
|
||
|
"name": "nowPlayingQueue",
|
||
|
"baseName": "NowPlayingQueue",
|
||
|
"type": "Array<QueueItem>"
|
||
|
},
|
||
|
{
|
||
|
"name": "playlistItemId",
|
||
|
"baseName": "PlaylistItemId",
|
||
|
"type": "string"
|
||
|
} ];
|
||
|
|
||
|
static getAttributeTypeMap() {
|
||
|
return ReportPlaybackProgressRequest.attributeTypeMap;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export namespace ReportPlaybackProgressRequest {
|
||
|
}
|