/* 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 NotepadMetadataBlockAttributes */ export interface NotepadMetadataBlockAttributes { /** * * @type {string} * @memberof NotepadMetadataBlockAttributes */ 'author': string | null; } /** * Check if a given object implements the NotepadMetadataBlockAttributes interface. */ export function instanceOfNotepadMetadataBlockAttributes(value: object): value is NotepadMetadataBlockAttributes { if (!('author' in value) || value['author'] === undefined) return false; return true; } export function NotepadMetadataBlockAttributesFromJSON(json: any): NotepadMetadataBlockAttributes { return NotepadMetadataBlockAttributesFromJSONTyped(json, false); } export function NotepadMetadataBlockAttributesFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotepadMetadataBlockAttributes { if (json == null) { return json; } const result = { } as NotepadMetadataBlockAttributes; if (json['author'] !== undefined) { if (json['author'] === null) { result['author'] = null; } else { result['author'] = json['author']; } } return result; } export function NotepadMetadataBlockAttributesToJSON(json: any): NotepadMetadataBlockAttributes { return NotepadMetadataBlockAttributesToJSONTyped(json, false); } export function NotepadMetadataBlockAttributesToJSONTyped(value?: NotepadMetadataBlockAttributes | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'author': value['author'], }; }