/* tslint:disable */ /* eslint-disable */ /** * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: * * * 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 ExportData */ export interface ExportData { /** * * @type {number} * @memberof ExportData */ code: number; /** * * @type {string} * @memberof ExportData */ message?: string; /** * * @type {string} * @memberof ExportData */ data_url: string; } /** * Check if a given object implements the ExportData interface. */ export function instanceOfExportData(value: object): value is ExportData { if (!('code' in value) || value['code'] === undefined) return false; if (!('data_url' in value) || value['data_url'] === undefined) return false; return true; } export function ExportDataFromJSON(json: any): ExportData { return ExportDataFromJSONTyped(json, false); } export function ExportDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportData { if (json == null) { return json; } return { 'code': json['code'], 'message': json['message'] == null ? undefined : json['message'], 'data_url': json['data_url'], }; } export function ExportDataToJSON(value?: ExportData | null): any { if (value == null) { return value; } return { 'code': value['code'], 'message': value['message'], 'data_url': value['data_url'], }; }