// 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 BasicPostProcessing */ export interface BasicPostProcessing { /** * * @type {string} * @memberof BasicPostProcessing */ readonly simulation?: string; /** * Scenario name for saving the results * @type {string} * @memberof BasicPostProcessing */ scenarioName?: string; /** * * @type {boolean} * @memberof BasicPostProcessing */ processBasicResults?: boolean; /** * * @type {string} * @memberof BasicPostProcessing */ resultUuid?: string; } export function BasicPostProcessingFromJSON(json: any): BasicPostProcessing { return { 'simulation': !exists(json, 'simulation') ? undefined : json['simulation'], 'scenarioName': !exists(json, 'scenario_name') ? undefined : json['scenario_name'], 'processBasicResults': !exists(json, 'process_basic_results') ? undefined : json['process_basic_results'], 'resultUuid': !exists(json, 'result_uuid') ? undefined : json['result_uuid'], }; } export function BasicPostProcessingToJSON(value?: BasicPostProcessing): any { if (value === undefined) { return undefined; } return { 'scenario_name': value.scenarioName, 'process_basic_results': value.processBasicResults, 'result_uuid': value.resultUuid, }; }