{"version":3,"file":"PostMemoRequest--8cSs-PJ.js","sources":["../../../app/javascript/entrypoints/output/models/PostMemoRequest.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 PostMemoRequest\n */\nexport interface PostMemoRequest {\n /**\n * \n * @type {number}\n * @memberof PostMemoRequest\n */\n stock_id: number;\n /**\n * \n * @type {string}\n * @memberof PostMemoRequest\n */\n content?: string;\n /**\n * \n * @type {string}\n * @memberof PostMemoRequest\n */\n url?: string;\n}\n\n/**\n * Check if a given object implements the PostMemoRequest interface.\n */\nexport function instanceOfPostMemoRequest(value: object): boolean {\n let isInstance = true;\n isInstance = isInstance && \"stock_id\" in value;\n\n return isInstance;\n}\n\nexport function PostMemoRequestFromJSON(json: any): PostMemoRequest {\n return PostMemoRequestFromJSONTyped(json, false);\n}\n\nexport function PostMemoRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostMemoRequest {\n if ((json === undefined) || (json === null)) {\n return json;\n }\n return {\n \n 'stock_id': json['stock_id'],\n 'content': !exists(json, 'content') ? undefined : json['content'],\n 'url': !exists(json, 'url') ? undefined : json['url'],\n };\n}\n\nexport function PostMemoRequestToJSON(value?: PostMemoRequest | null): any {\n if (value === undefined) {\n return undefined;\n }\n if (value === null) {\n return null;\n }\n return {\n \n 'stock_id': value.stock_id,\n 'content': value.content,\n 'url': value.url,\n };\n}\n\n"],"names":["PostMemoRequestToJSON","value"],"mappings":"AAmEO,SAASA,EAAsBC,EAAqC,CACvE,GAAIA,IAAU,OAGd,OAAIA,IAAU,KACH,KAEJ,CAEH,SAAYA,EAAM,SAClB,QAAWA,EAAM,QACjB,IAAOA,EAAM,GAAA,CAErB"}