Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit 29daf90

Browse files
committed
MINOR: add ifc version (#392)
1 parent 6e70a1e commit 29daf90

6 files changed

Lines changed: 19 additions & 3 deletions

File tree

docs/Ifc.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
2525
**errors** | **[String]** | | [optional] [readonly]
2626
**warnings** | **[String]** | | [optional] [readonly]
2727
**archived** | **Boolean** | | [optional]
28+
**version** | **String** | This field is only for information. Updating it won't impact the export. | [optional]
2829

2930

3031

src/model/Ifc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ class Ifc {
113113
if (data.hasOwnProperty('archived')) {
114114
obj['archived'] = ApiClient.convertToType(data['archived'], 'Boolean');
115115
}
116+
if (data.hasOwnProperty('version')) {
117+
obj['version'] = ApiClient.convertToType(data['version'], 'String');
118+
}
116119
}
117120
return obj;
118121
}
@@ -228,6 +231,12 @@ Ifc.prototype['warnings'] = undefined;
228231
*/
229232
Ifc.prototype['archived'] = undefined;
230233

234+
/**
235+
* This field is only for information. Updating it won't impact the export.
236+
* @member {String} version
237+
*/
238+
Ifc.prototype['version'] = undefined;
239+
231240

232241

233242

src/model/IfcErrors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import ApiClient from '../ApiClient';
2121
class IfcErrors {
2222
/**
2323
* Constructs a new <code>IfcErrors</code>.
24-
* Ifc(id, creator, document, project, created_at, updated_at, structure_file, systems_file, zones_file, map_file, gltf_file, gltf_with_openings_file, bvh_tree_file, viewer_360_file, xkt_file, world_position, is_demo, errors, warnings, source, update_check_needed, archived)
24+
* Ifc(id, creator, document, project, created_at, updated_at, structure_file, systems_file, zones_file, map_file, gltf_file, gltf_with_openings_file, bvh_tree_file, viewer_360_file, xkt_file, world_position, is_demo, errors, warnings, source, update_check_needed, archived, version)
2525
* @alias module:model/IfcErrors
2626
*/
2727
constructor() {

src/model/IfcExport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import ApiClient from '../ApiClient';
2121
class IfcExport {
2222
/**
2323
* Constructs a new <code>IfcExport</code>.
24-
* Ifc(id, creator, document, project, created_at, updated_at, structure_file, systems_file, zones_file, map_file, gltf_file, gltf_with_openings_file, bvh_tree_file, viewer_360_file, xkt_file, world_position, is_demo, errors, warnings, source, update_check_needed, archived)
24+
* Ifc(id, creator, document, project, created_at, updated_at, structure_file, systems_file, zones_file, map_file, gltf_file, gltf_with_openings_file, bvh_tree_file, viewer_360_file, xkt_file, world_position, is_demo, errors, warnings, source, update_check_needed, archived, version)
2525
* @alias module:model/IfcExport
2626
* @param fileName {String} The name of the exported IFC file. It MUST end with .ifc or the exported file won't be processed by BIMData
2727
*/

src/model/IfcFiles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import ApiClient from '../ApiClient';
2121
class IfcFiles {
2222
/**
2323
* Constructs a new <code>IfcFiles</code>.
24-
* Ifc(id, creator, document, project, created_at, updated_at, structure_file, systems_file, zones_file, map_file, gltf_file, gltf_with_openings_file, bvh_tree_file, viewer_360_file, xkt_file, world_position, is_demo, errors, warnings, source, update_check_needed, archived)
24+
* Ifc(id, creator, document, project, created_at, updated_at, structure_file, systems_file, zones_file, map_file, gltf_file, gltf_with_openings_file, bvh_tree_file, viewer_360_file, xkt_file, world_position, is_demo, errors, warnings, source, update_check_needed, archived, version)
2525
* @alias module:model/IfcFiles
2626
*/
2727
constructor() {

test/model/Ifc.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,12 @@
180180
//expect(instance).to.be();
181181
});
182182

183+
it('should have the property version (base name: "version")', function() {
184+
// uncomment below and update the code to test the property version
185+
//var instane = new bimdata.Ifc();
186+
//expect(instance).to.be();
187+
});
188+
183189
});
184190

185191
}));

0 commit comments

Comments
 (0)