/* 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'; /** * * @export * @interface CollectionCreationResult */ export interface CollectionCreationResult { /** * * @type {string} * @memberof CollectionCreationResult */ id?: string; } /** * Check if a given object implements the CollectionCreationResult interface. */ export function instanceOfCollectionCreationResult(value: object): boolean { let isInstance = true; return isInstance; } export function CollectionCreationResultFromJSON(json: any): CollectionCreationResult { return CollectionCreationResultFromJSONTyped(json, false); } export function CollectionCreationResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CollectionCreationResult { if ((json === undefined) || (json === null)) { return json; } return { 'id': !exists(json, 'Id') ? undefined : json['Id'], }; } export function CollectionCreationResultToJSON(value?: CollectionCreationResult | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'Id': value.id, }; }