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

Commit fa16b81

Browse files
committed
MINOR: serialization mpApp.organization_id
1 parent 9ae1ca0 commit fa16b81

6 files changed

Lines changed: 30 additions & 0 deletions

File tree

docs/Cloud.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**features** | [**[Feature]**](Feature.md) | | [optional] [readonly]
1010
**marketplaceApps** | **String** | | [optional] [readonly]
1111
**organization** | [**Organization**](Organization.md) | | [optional]
12+
**organizationId** | **Number** | | [optional]
1213
**creator** | [**User**](User.md) | | [optional]
1314
**creatorApp** | **String** | | [optional] [readonly]
1415
**isDefault** | **Boolean** | | [optional] [readonly]

docs/SelfBcfUser.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
88
**name** | **String** | | [optional] [readonly]
99
**email** | **String** | |
1010
**isClient** | **Boolean** | | [optional] [readonly]
11+
**isProjectToken** | **Boolean** | | [optional] [readonly]
1112

1213

src/model/Cloud.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ class Cloud {
6868
if (data.hasOwnProperty('organization')) {
6969
obj['organization'] = Organization.constructFromObject(data['organization']);
7070
}
71+
if (data.hasOwnProperty('organization_id')) {
72+
obj['organization_id'] = ApiClient.convertToType(data['organization_id'], 'Number');
73+
}
7174
if (data.hasOwnProperty('creator')) {
7275
obj['creator'] = User.constructFromObject(data['creator']);
7376
}
@@ -120,6 +123,11 @@ Cloud.prototype['marketplace_apps'] = undefined;
120123
*/
121124
Cloud.prototype['organization'] = undefined;
122125

126+
/**
127+
* @member {Number} organization_id
128+
*/
129+
Cloud.prototype['organization_id'] = undefined;
130+
123131
/**
124132
* @member {module:model/User} creator
125133
*/

src/model/SelfBcfUser.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ class SelfBcfUser {
6464
if (data.hasOwnProperty('is_client')) {
6565
obj['is_client'] = ApiClient.convertToType(data['is_client'], 'Boolean');
6666
}
67+
if (data.hasOwnProperty('is_project_token')) {
68+
obj['is_project_token'] = ApiClient.convertToType(data['is_project_token'], 'Boolean');
69+
}
6770
}
6871
return obj;
6972
}
@@ -91,6 +94,11 @@ SelfBcfUser.prototype['email'] = undefined;
9194
*/
9295
SelfBcfUser.prototype['is_client'] = undefined;
9396

97+
/**
98+
* @member {Boolean} is_project_token
99+
*/
100+
SelfBcfUser.prototype['is_project_token'] = undefined;
101+
94102

95103

96104

test/model/Cloud.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@
8484
//expect(instance).to.be();
8585
});
8686

87+
it('should have the property organizationId (base name: "organization_id")', function() {
88+
// uncomment below and update the code to test the property organizationId
89+
//var instane = new bimdata.Cloud();
90+
//expect(instance).to.be();
91+
});
92+
8793
it('should have the property creator (base name: "creator")', function() {
8894
// uncomment below and update the code to test the property creator
8995
//var instane = new bimdata.Cloud();

test/model/SelfBcfUser.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@
7878
//expect(instance).to.be();
7979
});
8080

81+
it('should have the property isProjectToken (base name: "is_project_token")', function() {
82+
// uncomment below and update the code to test the property isProjectToken
83+
//var instane = new bimdata.SelfBcfUser();
84+
//expect(instance).to.be();
85+
});
86+
8187
});
8288

8389
}));

0 commit comments

Comments
 (0)