// 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 { AggregationSettings, AggregationSettingsFromJSON, AggregationSettingsToJSON, NumericalSettings, NumericalSettingsFromJSON, NumericalSettingsToJSON, PhysicalSettings, PhysicalSettingsFromJSON, PhysicalSettingsToJSON, TimeStepSettings, TimeStepSettingsFromJSON, TimeStepSettingsToJSON, } from './'; /** * * @export * @interface SimulationSettingsOverview */ export interface SimulationSettingsOverview { /** * * @type {PhysicalSettings} * @memberof SimulationSettingsOverview */ physicalSettings?: PhysicalSettings; /** * * @type {NumericalSettings} * @memberof SimulationSettingsOverview */ numericalSettings?: NumericalSettings; /** * * @type {TimeStepSettings} * @memberof SimulationSettingsOverview */ timeStepSettings?: TimeStepSettings; /** * * @type {Array} * @memberof SimulationSettingsOverview */ readonly aggregationSettings?: Array; } export function SimulationSettingsOverviewFromJSON(json: any): SimulationSettingsOverview { return { 'physicalSettings': !exists(json, 'physical_settings') ? undefined : PhysicalSettingsFromJSON(json['physical_settings']), 'numericalSettings': !exists(json, 'numerical_settings') ? undefined : NumericalSettingsFromJSON(json['numerical_settings']), 'timeStepSettings': !exists(json, 'time_step_settings') ? undefined : TimeStepSettingsFromJSON(json['time_step_settings']), 'aggregationSettings': !exists(json, 'aggregation_settings') ? undefined : (json['aggregation_settings'] as Array).map(AggregationSettingsFromJSON), }; } export function SimulationSettingsOverviewToJSON(value?: SimulationSettingsOverview): any { if (value === undefined) { return undefined; } return { 'physical_settings': PhysicalSettingsToJSON(value.physicalSettings), 'numerical_settings': NumericalSettingsToJSON(value.numericalSettings), 'time_step_settings': TimeStepSettingsToJSON(value.timeStepSettings), }; }