/** * BIMData API * BIMData API is a tool to interact with your models stored on BIMData’s servers. Through the API, you can manage your projects, the clouds, upload your IFC files and manage them through endpoints. * * The version of the OpenAPI document: v1 (v1) * Contact: support@bimdata.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Mask2D } from './Mask2D'; import { ModelDocument } from './ModelDocument'; import { ModelSerializerWithoutChildren } from './ModelSerializerWithoutChildren'; import { Transform } from './Transform'; import { User } from './User'; import { XktFile } from './XktFile'; /** * * @export * @interface Model */ export interface Model { /** * * @type {number} * @memberof Model */ readonly id: number; /** * * @type {string} * @memberof Model */ name?: string | null; /** * * `IFC` - IFC * * `DWG` - DWG * * `DXF` - DXF * * `GLTF` - GLTF * * `PDF` - PDF * * `JPEG` - JPEG * * `PNG` - PNG * * `OBJ` - OBJ * * `POINT_CLOUD` - POINT_CLOUD * * `PHOTOSPHERE` - PHOTOSPHERE * * `METABUILDING` - METABUILDING * * `PHOTOSPHERE_BUILDING` - PHOTOSPHERE_BUILDING * @type {string} * @memberof Model */ readonly type: ModelTypeEnum; /** * * @type {User} * @memberof Model */ readonly creator: User | null; /** * * @type {string} * @memberof Model */ readonly status: string; /** * Status of the fragments process. This field may be removed in future versions when the `status` will take fragments into account. * @type {string} * @memberof Model */ readonly fragments_status: string; /** * * `UPLOAD` - UPLOAD * * `SPLIT` - SPLIT * * `MERGE` - MERGE * * `EXPORT` - EXPORT * * `OPTIMIZED` - OPTIMIZED * @type {string} * @memberof Model */ source?: ModelSourceEnum; /** * * @type {Date} * @memberof Model */ readonly created_at: Date; /** * * @type {Date} * @memberof Model */ readonly updated_at: Date; /** * * @type {number} * @memberof Model */ readonly document_id: number | null; /** * * @type {ModelDocument} * @memberof Model */ readonly document: ModelDocument | null; /** * * @type {string} * @memberof Model */ readonly structure_file: string | null; /** * * @type {string} * @memberof Model */ readonly systems_file: string | null; /** * * @type {string} * @memberof Model */ readonly map_file: string | null; /** * * @type {string} * @memberof Model */ readonly gltf_file: string | null; /** * * @type {string} * @memberof Model */ readonly preview_file: string | null; /** * DEPRECATED: Use 'preview_file' instead. * @type {string} * @memberof Model */ readonly viewer_360_file: string | null; /** * DEPRECATED: Use 'xkt_files' instead. This field only respond with xkt v6 files * @type {string} * @memberof Model */ readonly xkt_file: string | null; /** * * @type {Array} * @memberof Model */ readonly xkt_files: Array; /** * * @type {string} * @memberof Model */ readonly fragments_file: string | null; /** * DEPRECATED. This field is only used for old DWG files. * @type {string} * @memberof Model */ readonly binary_2d_file: string | null; /** * * @type {number} * @memberof Model */ readonly project_id: number | null; /** * [x,y,z] array of the position of the local_placement in world coordinates * @type {Array} * @memberof Model */ world_position?: Array | null; /** * How many meters a unit represents * @type {number} * @memberof Model */ size_ratio?: number | null; /** * List of errors that happened during IFC processing * @type {Array} * @memberof Model */ readonly errors: Array | null; /** * List of warnings that happened during IFC processing * @type {Array} * @memberof Model */ readonly warnings: Array | null; /** * * @type {boolean} * @memberof Model */ archived?: boolean; /** * This field is only for information. Updating it won't impact the export. * @type {string} * @memberof Model */ version?: string | null; /** * This field is only for information. Updating it won't impact the export. * @type {Array>} * @memberof Model */ north_vector?: Array> | null; /** * This is the angle in clockwise degree to apply on the 2D to optimise the horizontality of objects. This field is only for information. Updating it won't impact the export. * @type {number} * @memberof Model */ recommanded_2d_angle?: number | null; /** * The first page of the pdf * @type {number} * @memberof Model */ readonly parent_id: number | null; /** * The page number of the related pdf * @type {number} * @memberof Model */ readonly page_number: number | null; /** * The name of the DWG layout (only set when type==DWG) * @type {string} * @memberof Model */ layout_name?: string | null; /** * * @type {Mask2D} * @memberof Model */ readonly mask_2d: Mask2D | null; /** * * @type {Transform} * @memberof Model */ readonly transform: Transform | null; /** * Contains additional pages of a pdf * @type {Array} * @memberof Model */ readonly children: Array; } /** * @export * @enum {string} */ export declare enum ModelTypeEnum { Ifc = "IFC", Dwg = "DWG", Dxf = "DXF", Gltf = "GLTF", Pdf = "PDF", Jpeg = "JPEG", Png = "PNG", Obj = "OBJ", PointCloud = "POINT_CLOUD", Photosphere = "PHOTOSPHERE", Metabuilding = "METABUILDING", PhotosphereBuilding = "PHOTOSPHERE_BUILDING" } /** * @export * @enum {string} */ export declare enum ModelSourceEnum { Upload = "UPLOAD", Split = "SPLIT", Merge = "MERGE", Export = "EXPORT", Optimized = "OPTIMIZED" } export declare function ModelFromJSON(json: any): Model; export declare function ModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): Model; export declare function ModelToJSON(value?: Model | null): any;