// 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 DamageEstimation */ export interface DamageEstimation { /** * * @type {string} * @memberof DamageEstimation */ readonly damageTable?: string; /** * * @type {string} * @memberof DamageEstimation */ readonly elevationRasterUuid?: string; /** * * @type {string} * @memberof DamageEstimation */ readonly landcoverRasterUuid?: string; /** * * @type {string} * @memberof DamageEstimation */ readonly roadRailRasterUuid?: string; /** * * @type {number} * @memberof DamageEstimation */ readonly costType?: number; /** * * @type {number} * @memberof DamageEstimation */ readonly floodMonth?: number; /** * * @type {number} * @memberof DamageEstimation */ readonly inundationPeriod?: number; /** * * @type {number} * @memberof DamageEstimation */ readonly repairTimeInfrastructure?: number; /** * * @type {number} * @memberof DamageEstimation */ readonly repairTimeBuildings?: number; } export function DamageEstimationFromJSON(json: any): DamageEstimation { return { 'damageTable': !exists(json, 'damage_table') ? undefined : json['damage_table'], 'elevationRasterUuid': !exists(json, 'elevation_raster_uuid') ? undefined : json['elevation_raster_uuid'], 'landcoverRasterUuid': !exists(json, 'landcover_raster_uuid') ? undefined : json['landcover_raster_uuid'], 'roadRailRasterUuid': !exists(json, 'road_rail_raster_uuid') ? undefined : json['road_rail_raster_uuid'], 'costType': !exists(json, 'cost_type') ? undefined : json['cost_type'], 'floodMonth': !exists(json, 'flood_month') ? undefined : json['flood_month'], 'inundationPeriod': !exists(json, 'inundation_period') ? undefined : json['inundation_period'], 'repairTimeInfrastructure': !exists(json, 'repair_time_infrastructure') ? undefined : json['repair_time_infrastructure'], 'repairTimeBuildings': !exists(json, 'repair_time_buildings') ? undefined : json['repair_time_buildings'], }; } export function DamageEstimationToJSON(value?: DamageEstimation): any { if (value === undefined) { return undefined; } return { }; }