// 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 RasterOptions */ export interface RasterOptions { /** * * @type {string} * @memberof RasterOptions */ demFile?: string; /** * * @type {string} * @memberof RasterOptions */ demRawFile?: string; /** * * @type {string} * @memberof RasterOptions */ equilibriumInfiltrationRateFile?: string; /** * * @type {string} * @memberof RasterOptions */ frictCoefFile?: string; /** * * @type {string} * @memberof RasterOptions */ initialGroundwaterLevelFile?: string; /** * * @type {string} * @memberof RasterOptions */ initialWaterlevelFile?: string; /** * * @type {string} * @memberof RasterOptions */ groundwaterHydroConnectivityFile?: string; /** * * @type {string} * @memberof RasterOptions */ groundwaterImperviousLayerLevelFile?: string; /** * * @type {string} * @memberof RasterOptions */ infiltrationDecayPeriodFile?: string; /** * * @type {string} * @memberof RasterOptions */ initialInfiltrationRateFile?: string; /** * * @type {string} * @memberof RasterOptions */ leakageFile?: string; /** * * @type {string} * @memberof RasterOptions */ phreaticStorageCapacityFile?: string; /** * * @type {string} * @memberof RasterOptions */ hydraulicConductivityFile?: string; /** * * @type {string} * @memberof RasterOptions */ porosityFile?: string; /** * * @type {string} * @memberof RasterOptions */ infiltrationRateFile?: string; /** * * @type {string} * @memberof RasterOptions */ maxInfiltrationCapacityFile?: string; /** * * @type {string} * @memberof RasterOptions */ interceptionFile?: string; } export function RasterOptionsFromJSON(json: any): RasterOptions { return { 'demFile': !exists(json, 'dem_file') ? undefined : json['dem_file'], 'demRawFile': !exists(json, 'dem_raw_file') ? undefined : json['dem_raw_file'], 'equilibriumInfiltrationRateFile': !exists(json, 'equilibrium_infiltration_rate_file') ? undefined : json['equilibrium_infiltration_rate_file'], 'frictCoefFile': !exists(json, 'frict_coef_file') ? undefined : json['frict_coef_file'], 'initialGroundwaterLevelFile': !exists(json, 'initial_groundwater_level_file') ? undefined : json['initial_groundwater_level_file'], 'initialWaterlevelFile': !exists(json, 'initial_waterlevel_file') ? undefined : json['initial_waterlevel_file'], 'groundwaterHydroConnectivityFile': !exists(json, 'groundwater_hydro_connectivity_file') ? undefined : json['groundwater_hydro_connectivity_file'], 'groundwaterImperviousLayerLevelFile': !exists(json, 'groundwater_impervious_layer_level_file') ? undefined : json['groundwater_impervious_layer_level_file'], 'infiltrationDecayPeriodFile': !exists(json, 'infiltration_decay_period_file') ? undefined : json['infiltration_decay_period_file'], 'initialInfiltrationRateFile': !exists(json, 'initial_infiltration_rate_file') ? undefined : json['initial_infiltration_rate_file'], 'leakageFile': !exists(json, 'leakage_file') ? undefined : json['leakage_file'], 'phreaticStorageCapacityFile': !exists(json, 'phreatic_storage_capacity_file') ? undefined : json['phreatic_storage_capacity_file'], 'hydraulicConductivityFile': !exists(json, 'hydraulic_conductivity_file') ? undefined : json['hydraulic_conductivity_file'], 'porosityFile': !exists(json, 'porosity_file') ? undefined : json['porosity_file'], 'infiltrationRateFile': !exists(json, 'infiltration_rate_file') ? undefined : json['infiltration_rate_file'], 'maxInfiltrationCapacityFile': !exists(json, 'max_infiltration_capacity_file') ? undefined : json['max_infiltration_capacity_file'], 'interceptionFile': !exists(json, 'interception_file') ? undefined : json['interception_file'], }; } export function RasterOptionsToJSON(value?: RasterOptions): any { if (value === undefined) { return undefined; } return { 'dem_file': value.demFile, 'dem_raw_file': value.demRawFile, 'equilibrium_infiltration_rate_file': value.equilibriumInfiltrationRateFile, 'frict_coef_file': value.frictCoefFile, 'initial_groundwater_level_file': value.initialGroundwaterLevelFile, 'initial_waterlevel_file': value.initialWaterlevelFile, 'groundwater_hydro_connectivity_file': value.groundwaterHydroConnectivityFile, 'groundwater_impervious_layer_level_file': value.groundwaterImperviousLayerLevelFile, 'infiltration_decay_period_file': value.infiltrationDecayPeriodFile, 'initial_infiltration_rate_file': value.initialInfiltrationRateFile, 'leakage_file': value.leakageFile, 'phreatic_storage_capacity_file': value.phreaticStorageCapacityFile, 'hydraulic_conductivity_file': value.hydraulicConductivityFile, 'porosity_file': value.porosityFile, 'infiltration_rate_file': value.infiltrationRateFile, 'max_infiltration_capacity_file': value.maxInfiltrationCapacityFile, 'interception_file': value.interceptionFile, }; }