// 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 FileBoundaryCondition */ export interface FileBoundaryCondition { /** * * @type {string} * @memberof FileBoundaryCondition */ readonly url?: string; /** * * @type {number} * @memberof FileBoundaryCondition */ readonly id?: number; /** * * @type {string} * @memberof FileBoundaryCondition */ readonly uid?: string; /** * * @type {string} * @memberof FileBoundaryCondition */ readonly simulation?: string; /** * * @type {any} * @memberof FileBoundaryCondition */ file?: any; /** * * @type {string} * @memberof FileBoundaryCondition */ readonly state?: FileBoundaryConditionStateEnum; /** * * @type {object} * @memberof FileBoundaryCondition */ readonly stateDetail?: object; } export function FileBoundaryConditionFromJSON(json: any): FileBoundaryCondition { return { 'url': !exists(json, 'url') ? undefined : json['url'], 'id': !exists(json, 'id') ? undefined : json['id'], 'uid': !exists(json, 'uid') ? undefined : json['uid'], 'simulation': !exists(json, 'simulation') ? undefined : json['simulation'], 'file': !exists(json, 'file') ? undefined : json['file'], 'state': !exists(json, 'state') ? undefined : json['state'], 'stateDetail': !exists(json, 'state_detail') ? undefined : json['state_detail'], }; } export function FileBoundaryConditionToJSON(value?: FileBoundaryCondition): any { if (value === undefined) { return undefined; } return { 'file': value.file, }; } /** * @export * @enum {string} */ export enum FileBoundaryConditionStateEnum { Processing = 'processing', Valid = 'valid', Invalid = 'invalid' }