{"version":3,"file":"DisclosureFavorite-DdoelebW.js","sources":["../../../app/javascript/entrypoints/output/models/DisclosureFavorite.ts"],"sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * imarket\n * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n *\n * The version of the OpenAPI document: 1.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { exists, mapValues } from '../runtime';\n/**\n * \n * @export\n * @interface DisclosureFavorite\n */\nexport interface DisclosureFavorite {\n /**\n * \n * @type {number}\n * @memberof DisclosureFavorite\n */\n id: number;\n /**\n * \n * @type {string}\n * @memberof DisclosureFavorite\n */\n code: string;\n /**\n * \n * @type {string}\n * @memberof DisclosureFavorite\n */\n name: string;\n /**\n * \n * @type {string}\n * @memberof DisclosureFavorite\n */\n release_date: string;\n /**\n * \n * @type {string}\n * @memberof DisclosureFavorite\n */\n title: string;\n /**\n * \n * @type {string}\n * @memberof DisclosureFavorite\n */\n pdf: string;\n}\n\n/**\n * Check if a given object implements the DisclosureFavorite interface.\n */\nexport function instanceOfDisclosureFavorite(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"id\" in value;\n isInstance = isInstance && \"code\" in value;\n isInstance = isInstance && \"name\" in value;\n isInstance = isInstance && \"release_date\" in value;\n isInstance = isInstance && \"title\" in value;\n isInstance = isInstance && \"pdf\" in value;\n\n return isInstance;\n}\n\nexport function DisclosureFavoriteFromJSON(json: any): DisclosureFavorite {\n return DisclosureFavoriteFromJSONTyped(json, false);\n}\n\nexport function DisclosureFavoriteFromJSONTyped(json: any, ignoreDiscriminator: boolean): DisclosureFavorite {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'id': json['id'],\n 'code': json['code'],\n 'name': json['name'],\n 'release_date': json['release_date'],\n 'title': json['title'],\n 'pdf': json['pdf'],\n };\n}\n\nexport function DisclosureFavoriteToJSON(value?: DisclosureFavorite | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'id': value.id,\n 'code': value.code,\n 'name': value.name,\n 'release_date': value.release_date,\n 'title': value.title,\n 'pdf': value.pdf,\n };\n}\n\n"],"names":["DisclosureFavoriteFromJSON","json","DisclosureFavoriteFromJSONTyped","ignoreDiscriminator"],"mappings":"AA0EO,SAASA,EAA2BC,EAA+B,CAC/D,OAAAC,EAAgCD,CAAW,CACtD,CAEgB,SAAAC,EAAgCD,EAAWE,EAAkD,CACpG,OAAwBF,GAAS,KAC3BA,EAEJ,CAEH,GAAMA,EAAK,GACX,KAAQA,EAAK,KACb,KAAQA,EAAK,KACb,aAAgBA,EAAK,aACrB,MAASA,EAAK,MACd,IAAOA,EAAK,GAAK,CAEzB"}