{"version":3,"file":"ResultsForecastDisclosure-geWdG6JM.js","sources":["../../../app/javascript/entrypoints/output/models/ResultsForecastDisclosure.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 { ResultsForecastChange } from './ResultsForecastChange';\nimport {\n ResultsForecastChangeFromJSON,\n ResultsForecastChangeFromJSONTyped,\n ResultsForecastChangeToJSON,\n} from './ResultsForecastChange';\nimport type { ResultsForecastShort } from './ResultsForecastShort';\nimport {\n ResultsForecastShortFromJSON,\n ResultsForecastShortFromJSONTyped,\n ResultsForecastShortToJSON,\n} from './ResultsForecastShort';\n\n/**\n * \n * @export\n * @interface ResultsForecastDisclosure\n */\nexport interface ResultsForecastDisclosure {\n /**\n * \n * @type {number}\n * @memberof ResultsForecastDisclosure\n */\n id: number;\n /**\n * \n * @type {string}\n * @memberof ResultsForecastDisclosure\n */\n release_time: string;\n /**\n * \n * @type {string}\n * @memberof ResultsForecastDisclosure\n */\n code: string;\n /**\n * \n * @type {string}\n * @memberof ResultsForecastDisclosure\n */\n name: string;\n /**\n * \n * @type {string}\n * @memberof ResultsForecastDisclosure\n */\n pdf: string;\n /**\n * \n * @type {number}\n * @memberof ResultsForecastDisclosure\n */\n per?: number;\n /**\n * \n * @type {number}\n * @memberof ResultsForecastDisclosure\n */\n pbr?: number;\n /**\n * \n * @type {boolean}\n * @memberof ResultsForecastDisclosure\n */\n fav: boolean;\n /**\n * \n * @type {boolean}\n * @memberof ResultsForecastDisclosure\n */\n highest_forecast: boolean;\n /**\n * \n * @type {ResultsForecastShort}\n * @memberof ResultsForecastDisclosure\n */\n current: ResultsForecastShort;\n /**\n * \n * @type {ResultsForecastShort}\n * @memberof ResultsForecastDisclosure\n */\n prev: ResultsForecastShort;\n /**\n * \n * @type {ResultsForecastChange}\n * @memberof ResultsForecastDisclosure\n */\n change: ResultsForecastChange;\n}\n\n/**\n * Check if a given object implements the ResultsForecastDisclosure interface.\n */\nexport function instanceOfResultsForecastDisclosure(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 && \"pdf\" in value;\n isInstance = isInstance && \"fav\" in value;\n isInstance = isInstance && \"highest_forecast\" in value;\n isInstance = isInstance && \"current\" in value;\n isInstance = isInstance && \"prev\" in value;\n isInstance = isInstance && \"change\" in value;\n\n return isInstance;\n}\n\nexport function ResultsForecastDisclosureFromJSON(json: any): ResultsForecastDisclosure {\n return ResultsForecastDisclosureFromJSONTyped(json, false);\n}\n\nexport function ResultsForecastDisclosureFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultsForecastDisclosure {\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 'pdf': json['pdf'],\n 'per': !exists(json, 'per') ? undefined : json['per'],\n 'pbr': !exists(json, 'pbr') ? undefined : json['pbr'],\n 'fav': json['fav'],\n 'highest_forecast': json['highest_forecast'],\n 'current': ResultsForecastShortFromJSON(json['current']),\n 'prev': ResultsForecastShortFromJSON(json['prev']),\n 'change': ResultsForecastChangeFromJSON(json['change']),\n };\n}\n\nexport function ResultsForecastDisclosureToJSON(value?: ResultsForecastDisclosure | 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 'pdf': value.pdf,\n 'per': value.per,\n 'pbr': value.pbr,\n 'fav': value.fav,\n 'highest_forecast': value.highest_forecast,\n 'current': ResultsForecastShortToJSON(value.current),\n 'prev': ResultsForecastShortToJSON(value.prev),\n 'change': ResultsForecastChangeToJSON(value.change),\n };\n}\n\n"],"names":["ResultsForecastDisclosureFromJSON","json","ResultsForecastDisclosureFromJSONTyped","ignoreDiscriminator","exists","ResultsForecastShortFromJSON","ResultsForecastChangeFromJSON"],"mappings":"yJA+HO,SAASA,EAAkCC,EAAsC,CAC7E,OAAAC,EAAuCD,CAAW,CAC7D,CAEgB,SAAAC,EAAuCD,EAAWE,EAAyD,CAClH,OAAwBF,GAAS,KAC3BA,EAEJ,CAEH,GAAMA,EAAK,GACX,aAAgBA,EAAK,aACrB,KAAQA,EAAK,KACb,KAAQA,EAAK,KACb,IAAOA,EAAK,IACZ,IAAQG,EAAOH,EAAM,KAAK,EAAgBA,EAAK,IAAjB,OAC9B,IAAQG,EAAOH,EAAM,KAAK,EAAgBA,EAAK,IAAjB,OAC9B,IAAOA,EAAK,IACZ,iBAAoBA,EAAK,iBACzB,QAAWI,EAA6BJ,EAAK,OAAU,EACvD,KAAQI,EAA6BJ,EAAK,IAAO,EACjD,OAAUK,EAA8BL,EAAK,MAAS,CAAA,CAE9D"}