{"version":3,"file":"Financials-D0MsVO17.js","sources":["../../../app/javascript/entrypoints/output/models/Financials.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';\nimport type { ResultsForecastRatio } from './ResultsForecastRatio';\nimport {\n ResultsForecastRatioFromJSON,\n ResultsForecastRatioFromJSONTyped,\n ResultsForecastRatioToJSON,\n} from './ResultsForecastRatio';\nimport type { SummaryRatio } from './SummaryRatio';\nimport {\n SummaryRatioFromJSON,\n SummaryRatioFromJSONTyped,\n SummaryRatioToJSON,\n} from './SummaryRatio';\n\n/**\n * \n * @export\n * @interface Financials\n */\nexport interface Financials {\n /**\n * \n * @type {ResultsForecastRatio}\n * @memberof Financials\n */\n results_forecast?: ResultsForecastRatio;\n /**\n * \n * @type {Array}\n * @memberof Financials\n */\n summaries: Array;\n}\n\n/**\n * Check if a given object implements the Financials interface.\n */\nexport function instanceOfFinancials(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"summaries\" in value;\n\n return isInstance;\n}\n\nexport function FinancialsFromJSON(json: any): Financials {\n return FinancialsFromJSONTyped(json, false);\n}\n\nexport function FinancialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Financials {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'results_forecast': !exists(json, 'results_forecast') ? undefined : ResultsForecastRatioFromJSON(json['results_forecast']),\n 'summaries': ((json['summaries'] as Array).map(SummaryRatioFromJSON)),\n };\n}\n\nexport function FinancialsToJSON(value?: Financials | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'results_forecast': ResultsForecastRatioToJSON(value.results_forecast),\n 'summaries': ((value.summaries as Array).map(SummaryRatioToJSON)),\n };\n}\n\n"],"names":["FinancialsFromJSON","json","FinancialsFromJSONTyped","ignoreDiscriminator","exists","ResultsForecastRatioFromJSON","SummaryRatioFromJSON"],"mappings":"gJA0DO,SAASA,EAAmBC,EAAuB,CAC/C,OAAAC,EAAwBD,CAAW,CAC9C,CAEgB,SAAAC,EAAwBD,EAAWE,EAA0C,CACpF,OAAwBF,GAAS,KAC3BA,EAEJ,CAEH,iBAAqBG,EAAOH,EAAM,kBAAkB,EAAgBI,EAA6BJ,EAAK,gBAAmB,EAAjE,OACxD,UAAeA,EAAK,UAA4B,IAAIK,CAAoB,CAAA,CAEhF"}