// 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 FileLateral */ export interface FileLateral { /** * * @type {string} * @memberof FileLateral */ readonly url?: string; /** * * @type {number} * @memberof FileLateral */ readonly id?: number; /** * * @type {string} * @memberof FileLateral */ readonly uid?: string; /** * * @type {string} * @memberof FileLateral */ readonly simulation?: string; /** * offset of event in simulation in seconds * @type {number} * @memberof FileLateral */ offset: number; /** * * @type {any} * @memberof FileLateral */ file?: any; /** * * @type {string} * @memberof FileLateral */ readonly state?: FileLateralStateEnum; /** * * @type {object} * @memberof FileLateral */ readonly stateDetail?: object; /** * * @type {string} * @memberof FileLateral */ readonly periodic?: FileLateralPeriodicEnum; } export function FileLateralFromJSON(json: any): FileLateral { 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'], 'offset': json['offset'], 'file': !exists(json, 'file') ? undefined : json['file'], 'state': !exists(json, 'state') ? undefined : json['state'], 'stateDetail': !exists(json, 'state_detail') ? undefined : json['state_detail'], 'periodic': !exists(json, 'periodic') ? undefined : json['periodic'], }; } export function FileLateralToJSON(value?: FileLateral): any { if (value === undefined) { return undefined; } return { 'offset': value.offset, 'file': value.file, }; } /** * @export * @enum {string} */ export enum FileLateralStateEnum { Processing = 'processing', Valid = 'valid', Invalid = 'invalid' } /** * @export * @enum {string} */ export enum FileLateralPeriodicEnum { Daily = 'daily' }