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

Commit ffba358

Browse files
committed
PATCH: (raw element) key named material_list instead of materials
1 parent 487762a commit ffba358

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/RawElements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
**classifications** | [**[RawClassification]**](RawClassification.md) | | [optional]
1111
**layers** | [**[RawLayer]**](RawLayer.md) | | [optional]
1212
**systems** | [**[RawSystem]**](RawSystem.md) | | [optional]
13-
**materialList** | [**RawMaterialList**](RawMaterialList.md) | | [optional]
13+
**materials** | [**RawMaterialList**](RawMaterialList.md) | | [optional]
1414
**elements** | [**[RawElement]**](RawElement.md) | |
1515

1616

src/model/RawElements.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ class RawElements {
7575
if (data.hasOwnProperty('systems')) {
7676
obj['systems'] = ApiClient.convertToType(data['systems'], [RawSystem]);
7777
}
78-
if (data.hasOwnProperty('material_list')) {
79-
obj['material_list'] = RawMaterialList.constructFromObject(data['material_list']);
78+
if (data.hasOwnProperty('materials')) {
79+
obj['materials'] = RawMaterialList.constructFromObject(data['materials']);
8080
}
8181
if (data.hasOwnProperty('elements')) {
8282
obj['elements'] = ApiClient.convertToType(data['elements'], [RawElement]);
@@ -119,9 +119,9 @@ RawElements.prototype['layers'] = undefined;
119119
RawElements.prototype['systems'] = undefined;
120120

121121
/**
122-
* @member {module:model/RawMaterialList} material_list
122+
* @member {module:model/RawMaterialList} materials
123123
*/
124-
RawElements.prototype['material_list'] = undefined;
124+
RawElements.prototype['materials'] = undefined;
125125

126126
/**
127127
* @member {Array.<module:model/RawElement>} elements

test/model/RawElements.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
//expect(instance).to.be();
9191
});
9292

93-
it('should have the property materialList (base name: "material_list")', function() {
94-
// uncomment below and update the code to test the property materialList
93+
it('should have the property materials (base name: "materials")', function() {
94+
// uncomment below and update the code to test the property materials
9595
//var instane = new bimdata.RawElements();
9696
//expect(instance).to.be();
9797
});

0 commit comments

Comments
 (0)