/* tslint:disable */ /* eslint-disable */ /** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * * @export * @interface PutNotepadContentRequest */ export interface PutNotepadContentRequest { /** * The markdown content to replace the notepad with * @type {string} * @memberof PutNotepadContentRequest */ 'markdown': string; } /** * Check if a given object implements the PutNotepadContentRequest interface. */ export function instanceOfPutNotepadContentRequest(value: object): value is PutNotepadContentRequest { if (!('markdown' in value) || value['markdown'] === undefined) return false; return true; } export function PutNotepadContentRequestFromJSON(json: any): PutNotepadContentRequest { return PutNotepadContentRequestFromJSONTyped(json, false); } export function PutNotepadContentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutNotepadContentRequest { if (json == null) { return json; } const result = { } as PutNotepadContentRequest; if (json['markdown'] !== undefined) { result['markdown'] = json['markdown']; } return result; } export function PutNotepadContentRequestToJSON(json: any): PutNotepadContentRequest { return PutNotepadContentRequestToJSONTyped(json, false); } export function PutNotepadContentRequestToJSONTyped(value?: PutNotepadContentRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'markdown': value['markdown'], }; }