// 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'; /** * * @export * @interface Download */ export interface Download { /** * * @type {string} * @memberof Download */ readonly getUrl?: string; /** * Optional eTag (md5sum) * @type {string} * @memberof Download */ readonly etag?: string; /** * Filesize in bytes * @type {number} * @memberof Download */ readonly size?: number; } export function DownloadFromJSON(json: any): Download { return { 'getUrl': !exists(json, 'get_url') ? undefined : json['get_url'], 'etag': !exists(json, 'etag') ? undefined : json['etag'], 'size': !exists(json, 'size') ? undefined : json['size'], }; } export function DownloadToJSON(value?: Download): any { if (value === undefined) { return undefined; } return { }; }