jellyfin-discord-bot/server/jellyfin/models/PlaystateCommand.ts

46 lines
1.2 KiB
TypeScript
Raw Normal View History

2023-05-04 23:34:53 +02:00
/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/
/**
* Enum PlaystateCommand.
* @export
*/
export const PlaystateCommand = {
Stop: 'Stop',
Pause: 'Pause',
Unpause: 'Unpause',
NextTrack: 'NextTrack',
PreviousTrack: 'PreviousTrack',
Seek: 'Seek',
Rewind: 'Rewind',
FastForward: 'FastForward',
PlayPause: 'PlayPause'
} as const;
export type PlaystateCommand = typeof PlaystateCommand[keyof typeof PlaystateCommand];
export function PlaystateCommandFromJSON(json: any): PlaystateCommand {
return PlaystateCommandFromJSONTyped(json, false);
}
export function PlaystateCommandFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlaystateCommand {
return json as PlaystateCommand;
}
export function PlaystateCommandToJSON(value?: PlaystateCommand | null): any {
return value as any;
}