{"version":3,"file":"Memo-rNSWs3Sp.js","sources":["../../../app/javascript/entrypoints/output/models/Memo.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 Memo\n */\nexport interface Memo {\n /**\n * \n * @type {number}\n * @memberof Memo\n */\n id: number;\n /**\n * \n * @type {number}\n * @memberof Memo\n */\n stock_id: number;\n /**\n * \n * @type {string}\n * @memberof Memo\n */\n date: string;\n /**\n * \n * @type {string}\n * @memberof Memo\n */\n content?: string;\n /**\n * \n * @type {string}\n * @memberof Memo\n */\n url?: string;\n /**\n * \n * @type {string}\n * @memberof Memo\n */\n stock?: string;\n}\n\n/**\n * Check if a given object implements the Memo interface.\n */\nexport function instanceOfMemo(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"id\" in value;\n isInstance = isInstance && \"stock_id\" in value;\n isInstance = isInstance && \"date\" in value;\n\n return isInstance;\n}\n\nexport function MemoFromJSON(json: any): Memo {\n return MemoFromJSONTyped(json, false);\n}\n\nexport function MemoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Memo {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'id': json['id'],\n 'stock_id': json['stock_id'],\n 'date': json['date'],\n 'content': !exists(json, 'content') ? undefined : json['content'],\n 'url': !exists(json, 'url') ? undefined : json['url'],\n 'stock': !exists(json, 'stock') ? undefined : json['stock'],\n };\n}\n\nexport function MemoToJSON(value?: Memo | 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 'stock_id': value.stock_id,\n 'date': value.date,\n 'content': value.content,\n 'url': value.url,\n 'stock': value.stock,\n };\n}\n\n"],"names":["MemoFromJSON","json","MemoFromJSONTyped","ignoreDiscriminator","exists"],"mappings":"0CAuEO,SAASA,EAAaC,EAAiB,CACnC,OAAAC,EAAkBD,CAAW,CACxC,CAEgB,SAAAC,EAAkBD,EAAWE,EAAoC,CACxE,OAAwBF,GAAS,KAC3BA,EAEJ,CAEH,GAAMA,EAAK,GACX,SAAYA,EAAK,SACjB,KAAQA,EAAK,KACb,QAAYG,EAAOH,EAAM,SAAS,EAAgBA,EAAK,QAAjB,OACtC,IAAQG,EAAOH,EAAM,KAAK,EAAgBA,EAAK,IAAjB,OAC9B,MAAUG,EAAOH,EAAM,OAAO,EAAgBA,EAAK,MAAjB,MAAwB,CAElE"}