{"version":3,"file":"Disclosure-CQXXFq2H.js","sources":["../../../app/javascript/entrypoints/output/models/Disclosure.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 Disclosure\n */\nexport interface Disclosure {\n /**\n * \n * @type {number}\n * @memberof Disclosure\n */\n id: number;\n /**\n * \n * @type {string}\n * @memberof Disclosure\n */\n release_time: string;\n /**\n * \n * @type {string}\n * @memberof Disclosure\n */\n code: string;\n /**\n * \n * @type {string}\n * @memberof Disclosure\n */\n name: string;\n /**\n * \n * @type {string}\n * @memberof Disclosure\n */\n title: string;\n /**\n * \n * @type {string}\n * @memberof Disclosure\n */\n pdf: string;\n /**\n * \n * @type {boolean}\n * @memberof Disclosure\n */\n fav: boolean;\n}\n\n/**\n * Check if a given object implements the Disclosure interface.\n */\nexport function instanceOfDisclosure(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"id\" in value;\n isInstance = isInstance && \"release_time\" in value;\n isInstance = isInstance && \"code\" in value;\n isInstance = isInstance && \"name\" in value;\n isInstance = isInstance && \"title\" in value;\n isInstance = isInstance && \"pdf\" in value;\n isInstance = isInstance && \"fav\" in value;\n\n return isInstance;\n}\n\nexport function DisclosureFromJSON(json: any): Disclosure {\n return DisclosureFromJSONTyped(json, false);\n}\n\nexport function DisclosureFromJSONTyped(json: any, ignoreDiscriminator: boolean): Disclosure {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'id': json['id'],\n 'release_time': json['release_time'],\n 'code': json['code'],\n 'name': json['name'],\n 'title': json['title'],\n 'pdf': json['pdf'],\n 'fav': json['fav'],\n };\n}\n\nexport function DisclosureToJSON(value?: Disclosure | 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 'release_time': value.release_time,\n 'code': value.code,\n 'name': value.name,\n 'title': value.title,\n 'pdf': value.pdf,\n 'fav': value.fav,\n };\n}\n\n"],"names":["DisclosureFromJSON","json","DisclosureFromJSONTyped","ignoreDiscriminator"],"mappings":"AAiFO,SAASA,EAAmBC,EAAuB,CAC/C,OAAAC,EAAwBD,CAAW,CAC9C,CAEgB,SAAAC,EAAwBD,EAAWE,EAA0C,CACpF,OAAwBF,GAAS,KAC3BA,EAEJ,CAEH,GAAMA,EAAK,GACX,aAAgBA,EAAK,aACrB,KAAQA,EAAK,KACb,KAAQA,EAAK,KACb,MAASA,EAAK,MACd,IAAOA,EAAK,IACZ,IAAOA,EAAK,GAAK,CAEzB"}