/** * 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 { Unit } from './Unit'; /** * Adds nested create feature * @export * @interface UnitRequest */ export interface UnitRequest { /** * IfcDerivedUnit, IfcContextDependentUnit, IfcConversionBasedUnit, IfcSIUnit or IfcMonetaryUnit * @type {string} * @memberof UnitRequest */ type: string; /** * Name of the unit (ex: DEGREE) * @type {string} * @memberof UnitRequest */ name?: string | null; /** * IFC type of the unit or user defined type (ex: PLANEANGLEUNIT for DEGREE and RADIAN) * @type {string} * @memberof UnitRequest */ unit_type?: string | null; /** * Litteral prefix for scale (ex: MILLI, KILO, etc..) * @type {string} * @memberof UnitRequest */ prefix?: string | null; /** * List of 7 units dimensions * @type {Array} * @memberof UnitRequest */ dimensions?: Array | null; /** * Factor of conversion and base unit id (ex: DEGREE from RADIAN with factor 0.0174532925199433) * @type {number} * @memberof UnitRequest */ conversion_factor?: number | null; /** * * @type {Unit} * @memberof UnitRequest */ conversion_baseunit?: Unit; /** * List of constitutive unit elements by id with corresponding exponent (ex: [meterID/1, secondID/-1] for velocity) * @type {any} * @memberof UnitRequest */ elements?: any | null; /** * * @type {boolean} * @memberof UnitRequest */ is_default?: boolean; } export declare function UnitRequestFromJSON(json: any): UnitRequest; export declare function UnitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitRequest; export declare function UnitRequestToJSON(value?: UnitRequest | null): any;