/* tslint:disable */ /* eslint-disable */ // @ts-nocheck /** * Audius API * * The version of the OpenAPI document: 1.0 * * * 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 PlaylistLibrary */ export interface PlaylistLibrary { /** * * @type {Array} * @memberof PlaylistLibrary */ contents?: Array; } /** * Check if a given object implements the PlaylistLibrary interface. */ export function instanceOfPlaylistLibrary(value: object): value is PlaylistLibrary { let isInstance = true; return isInstance; } export function PlaylistLibraryFromJSON(json: any): PlaylistLibrary { return PlaylistLibraryFromJSONTyped(json, false); } export function PlaylistLibraryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlaylistLibrary { if ((json === undefined) || (json === null)) { return json; } return { 'contents': !exists(json, 'contents') ? undefined : json['contents'], }; } export function PlaylistLibraryToJSON(value?: PlaylistLibrary | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'contents': value.contents, }; }