jellyfin-discord-bot/jellyfin/model/playerStateInfo.ts
2023-04-15 22:02:40 +02:00

123 lines
3.2 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 { RepeatMode } from './repeatMode';
export class PlayerStateInfo {
/**
* Gets or sets the now playing position ticks.
*/
'positionTicks'?: number | null;
/**
* Gets or sets a value indicating whether this instance can seek.
*/
'canSeek'?: boolean;
/**
* 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 volume level.
*/
'volumeLevel'?: number | null;
/**
* Gets or sets the index of the now playing audio stream.
*/
'audioStreamIndex'?: number | null;
/**
* Gets or sets the index of the now playing subtitle stream.
*/
'subtitleStreamIndex'?: number | null;
/**
* Gets or sets the now playing media version identifier.
*/
'mediaSourceId'?: string | null;
'playMethod'?: PlayMethod | null;
'repeatMode'?: RepeatMode;
/**
* Gets or sets the now playing live stream identifier.
*/
'liveStreamId'?: string | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "positionTicks",
"baseName": "PositionTicks",
"type": "number"
},
{
"name": "canSeek",
"baseName": "CanSeek",
"type": "boolean"
},
{
"name": "isPaused",
"baseName": "IsPaused",
"type": "boolean"
},
{
"name": "isMuted",
"baseName": "IsMuted",
"type": "boolean"
},
{
"name": "volumeLevel",
"baseName": "VolumeLevel",
"type": "number"
},
{
"name": "audioStreamIndex",
"baseName": "AudioStreamIndex",
"type": "number"
},
{
"name": "subtitleStreamIndex",
"baseName": "SubtitleStreamIndex",
"type": "number"
},
{
"name": "mediaSourceId",
"baseName": "MediaSourceId",
"type": "string"
},
{
"name": "playMethod",
"baseName": "PlayMethod",
"type": "PlayMethod"
},
{
"name": "repeatMode",
"baseName": "RepeatMode",
"type": "RepeatMode"
},
{
"name": "liveStreamId",
"baseName": "LiveStreamId",
"type": "string"
} ];
static getAttributeTypeMap() {
return PlayerStateInfo.attributeTypeMap;
}
}
export namespace PlayerStateInfo {
}