/* 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 DocumentMetadataBlockAttributesDocument */ export interface DocumentMetadataBlockAttributesDocument { /** * * @type {number} * @memberof DocumentMetadataBlockAttributesDocument */ 'pages'?: number | null; /** * * @type {string} * @memberof DocumentMetadataBlockAttributesDocument */ 'author'?: string | null; /** * * @type {string} * @memberof DocumentMetadataBlockAttributesDocument */ 'title'?: string | null; /** * * @type {string} * @memberof DocumentMetadataBlockAttributesDocument */ 'subject'?: string | null; /** * * @type {string} * @memberof DocumentMetadataBlockAttributesDocument */ 'keywords'?: string | null; /** * * @type {string} * @memberof DocumentMetadataBlockAttributesDocument */ 'producer'?: string | null; /** * * @type {string} * @memberof DocumentMetadataBlockAttributesDocument */ 'creator'?: string | null; /** * * @type {boolean} * @memberof DocumentMetadataBlockAttributesDocument */ 'security'?: boolean | null; /** * * @type {string} * @memberof DocumentMetadataBlockAttributesDocument */ 'version'?: string | null; /** * * @type {string} * @memberof DocumentMetadataBlockAttributesDocument */ 'creationDate'?: string | null; /** * * @type {string} * @memberof DocumentMetadataBlockAttributesDocument */ 'modificationDate'?: string | null; } /** * Check if a given object implements the DocumentMetadataBlockAttributesDocument interface. */ export function instanceOfDocumentMetadataBlockAttributesDocument(value: object): value is DocumentMetadataBlockAttributesDocument { return true; } export function DocumentMetadataBlockAttributesDocumentFromJSON(json: any): DocumentMetadataBlockAttributesDocument { return DocumentMetadataBlockAttributesDocumentFromJSONTyped(json, false); } export function DocumentMetadataBlockAttributesDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentMetadataBlockAttributesDocument { if (json == null) { return json; } const result = { } as DocumentMetadataBlockAttributesDocument; if (json['pages'] !== undefined) { if (json['pages'] === null) { result['pages'] = null; } else { result['pages'] = json['pages']; } } if (json['author'] !== undefined) { if (json['author'] === null) { result['author'] = null; } else { result['author'] = json['author']; } } if (json['title'] !== undefined) { if (json['title'] === null) { result['title'] = null; } else { result['title'] = json['title']; } } if (json['subject'] !== undefined) { if (json['subject'] === null) { result['subject'] = null; } else { result['subject'] = json['subject']; } } if (json['keywords'] !== undefined) { if (json['keywords'] === null) { result['keywords'] = null; } else { result['keywords'] = json['keywords']; } } if (json['producer'] !== undefined) { if (json['producer'] === null) { result['producer'] = null; } else { result['producer'] = json['producer']; } } if (json['creator'] !== undefined) { if (json['creator'] === null) { result['creator'] = null; } else { result['creator'] = json['creator']; } } if (json['security'] !== undefined) { if (json['security'] === null) { result['security'] = null; } else { result['security'] = json['security']; } } if (json['version'] !== undefined) { if (json['version'] === null) { result['version'] = null; } else { result['version'] = json['version']; } } if (json['creationDate'] !== undefined) { if (json['creationDate'] === null) { result['creationDate'] = null; } else { result['creationDate'] = json['creationDate']; } } if (json['modificationDate'] !== undefined) { if (json['modificationDate'] === null) { result['modificationDate'] = null; } else { result['modificationDate'] = json['modificationDate']; } } return result; } export function DocumentMetadataBlockAttributesDocumentToJSON(json: any): DocumentMetadataBlockAttributesDocument { return DocumentMetadataBlockAttributesDocumentToJSONTyped(json, false); } export function DocumentMetadataBlockAttributesDocumentToJSONTyped(value?: DocumentMetadataBlockAttributesDocument | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'pages': value['pages'], 'author': value['author'], 'title': value['title'], 'subject': value['subject'], 'keywords': value['keywords'], 'producer': value['producer'], 'creator': value['creator'], 'security': value['security'], 'version': value['version'], 'creationDate': value['creationDate'], 'modificationDate': value['modificationDate'], }; }