// tslint:disable /** * 3Di API * 3Di simulation API (latest stable version: v3) Framework release: 3.0.1 3Di core release: 2.3.0.dev0 deployed on: 10:42AM (UTC) on October 04, 2022 * * The version of the OpenAPI document: v3 * Contact: info@nelen-schuurmans.nl * * 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'; import { FileReadOnly, FileReadOnlyFromJSON, FileReadOnlyToJSON, } from './'; /** * * @export * @interface Sqlite */ export interface Sqlite { /** * * @type {number} * @memberof Sqlite */ readonly id?: number; /** * * @type {FileReadOnly} * @memberof Sqlite */ file?: FileReadOnly; /** * * @type {number} * @memberof Sqlite */ readonly revisionId?: number; } export function SqliteFromJSON(json: any): Sqlite { return { 'id': !exists(json, 'id') ? undefined : json['id'], 'file': !exists(json, 'file') ? undefined : FileReadOnlyFromJSON(json['file']), 'revisionId': !exists(json, 'revision_id') ? undefined : json['revision_id'], }; } export function SqliteToJSON(value?: Sqlite): any { if (value === undefined) { return undefined; } return { 'file': FileReadOnlyToJSON(value.file), }; }