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 SeekRequestDto
|
|
*/
|
|
export interface SeekRequestDto {
|
|
/**
|
|
* Gets or sets the position ticks.
|
|
* @type {number}
|
|
* @memberof SeekRequestDto
|
|
*/
|
|
positionTicks?: number;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the SeekRequestDto interface.
|
|
*/
|
|
export function instanceOfSeekRequestDto(value: object): boolean {
|
|
let isInstance = true;
|
|
|
|
return isInstance;
|
|
}
|
|
|
|
export function SeekRequestDtoFromJSON(json: any): SeekRequestDto {
|
|
return SeekRequestDtoFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function SeekRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeekRequestDto {
|
|
if ((json === undefined) || (json === null)) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'positionTicks': !exists(json, 'PositionTicks') ? undefined : json['PositionTicks'],
|
|
};
|
|
}
|
|
|
|
export function SeekRequestDtoToJSON(value?: SeekRequestDto | null): any {
|
|
if (value === undefined) {
|
|
return undefined;
|
|
}
|
|
if (value === null) {
|
|
return null;
|
|
}
|
|
return {
|
|
|
|
'PositionTicks': value.positionTicks,
|
|
};
|
|
}
|
|
|