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