/* tslint:disable */ /* eslint-disable */ /** * DocRaptor * A native client library for the DocRaptor HTML to PDF/XLS service. * * The version of the OpenAPI document: 2.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 { exists, mapValues } from '../runtime'; /** * * @export * @interface AsyncDoc */ export interface AsyncDoc { /** * The identifier used to get the status of the document using the status API. * @type {string} * @memberof AsyncDoc */ statusId?: string; } /** * Check if a given object implements the AsyncDoc interface. */ export function instanceOfAsyncDoc(value: object): boolean { let isInstance = true; return isInstance; } export function AsyncDocFromJSON(json: any): AsyncDoc { return AsyncDocFromJSONTyped(json, false); } export function AsyncDocFromJSONTyped(json: any, ignoreDiscriminator: boolean): AsyncDoc { if ((json === undefined) || (json === null)) { return json; } return { 'statusId': !exists(json, 'status_id') ? undefined : json['status_id'], }; } export function AsyncDocToJSON(value?: AsyncDoc | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'status_id': value.statusId, }; }