66 lines
1.6 KiB
TypeScript
66 lines
1.6 KiB
TypeScript
|
/* 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.
|
||
|
*/
|
||
|
|
||
|
import { exists, mapValues } from '../runtime';
|
||
|
/**
|
||
|
* Class SeekRequestDto.
|
||
|
* @export
|
||
|
* @interface SyncPlaySeekRequest
|
||
|
*/
|
||
|
export interface SyncPlaySeekRequest {
|
||
|
/**
|
||
|
* Gets or sets the position ticks.
|
||
|
* @type {number}
|
||
|
* @memberof SyncPlaySeekRequest
|
||
|
*/
|
||
|
positionTicks?: number;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Check if a given object implements the SyncPlaySeekRequest interface.
|
||
|
*/
|
||
|
export function instanceOfSyncPlaySeekRequest(value: object): boolean {
|
||
|
let isInstance = true;
|
||
|
|
||
|
return isInstance;
|
||
|
}
|
||
|
|
||
|
export function SyncPlaySeekRequestFromJSON(json: any): SyncPlaySeekRequest {
|
||
|
return SyncPlaySeekRequestFromJSONTyped(json, false);
|
||
|
}
|
||
|
|
||
|
export function SyncPlaySeekRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncPlaySeekRequest {
|
||
|
if ((json === undefined) || (json === null)) {
|
||
|
return json;
|
||
|
}
|
||
|
return {
|
||
|
|
||
|
'positionTicks': !exists(json, 'PositionTicks') ? undefined : json['PositionTicks'],
|
||
|
};
|
||
|
}
|
||
|
|
||
|
export function SyncPlaySeekRequestToJSON(value?: SyncPlaySeekRequest | null): any {
|
||
|
if (value === undefined) {
|
||
|
return undefined;
|
||
|
}
|
||
|
if (value === null) {
|
||
|
return null;
|
||
|
}
|
||
|
return {
|
||
|
|
||
|
'PositionTicks': value.positionTicks,
|
||
|
};
|
||
|
}
|
||
|
|