/* 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 CreateNotepadRequestAllOfAnyOf */ export interface CreateNotepadRequestAllOfAnyOf { /** * * @type {string} * @memberof CreateNotepadRequestAllOfAnyOf */ 'text': string; } /** * Check if a given object implements the CreateNotepadRequestAllOfAnyOf interface. */ export function instanceOfCreateNotepadRequestAllOfAnyOf(value: object): value is CreateNotepadRequestAllOfAnyOf { if (!('text' in value) || value['text'] === undefined) return false; return true; } export function CreateNotepadRequestAllOfAnyOfFromJSON(json: any): CreateNotepadRequestAllOfAnyOf { return CreateNotepadRequestAllOfAnyOfFromJSONTyped(json, false); } export function CreateNotepadRequestAllOfAnyOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateNotepadRequestAllOfAnyOf { if (json == null) { return json; } const result = { } as CreateNotepadRequestAllOfAnyOf; if (json['text'] !== undefined) { result['text'] = json['text']; } return result; } export function CreateNotepadRequestAllOfAnyOfToJSON(json: any): CreateNotepadRequestAllOfAnyOf { return CreateNotepadRequestAllOfAnyOfToJSONTyped(json, false); } export function CreateNotepadRequestAllOfAnyOfToJSONTyped(value?: CreateNotepadRequestAllOfAnyOf | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'text': value['text'], }; }