66 lines
1.7 KiB
TypeScript
66 lines
1.7 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';
|
|
/**
|
|
* Client log document response dto.
|
|
* @export
|
|
* @interface ClientLogDocumentResponseDto
|
|
*/
|
|
export interface ClientLogDocumentResponseDto {
|
|
/**
|
|
* Gets the resulting filename.
|
|
* @type {string}
|
|
* @memberof ClientLogDocumentResponseDto
|
|
*/
|
|
fileName?: string;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the ClientLogDocumentResponseDto interface.
|
|
*/
|
|
export function instanceOfClientLogDocumentResponseDto(value: object): boolean {
|
|
let isInstance = true;
|
|
|
|
return isInstance;
|
|
}
|
|
|
|
export function ClientLogDocumentResponseDtoFromJSON(json: any): ClientLogDocumentResponseDto {
|
|
return ClientLogDocumentResponseDtoFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function ClientLogDocumentResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClientLogDocumentResponseDto {
|
|
if ((json === undefined) || (json === null)) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'fileName': !exists(json, 'FileName') ? undefined : json['FileName'],
|
|
};
|
|
}
|
|
|
|
export function ClientLogDocumentResponseDtoToJSON(value?: ClientLogDocumentResponseDto | null): any {
|
|
if (value === undefined) {
|
|
return undefined;
|
|
}
|
|
if (value === null) {
|
|
return null;
|
|
}
|
|
return {
|
|
|
|
'FileName': value.fileName,
|
|
};
|
|
}
|
|
|