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

Commit 91d93d1

Browse files
committed
PATCH: add missing cloud_role invitation in serialization
1 parent e27421b commit 91d93d1

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

docs/CloudInvitation.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,17 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**email** | **String** | |
77
**redirectUri** | **String** | User will be redirected to this uri when they accept the invitation |
8+
**role** | **String** | | [optional]
9+
10+
11+
<a name="RoleEnum"></a>
12+
## Enum: RoleEnum
13+
14+
15+
* `100` (value: `"100"`)
16+
17+
* `50` (value: `"50"`)
18+
19+
820

921

src/model/CloudInvitation.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
if (data.hasOwnProperty('redirect_uri')) {
7070
obj['redirect_uri'] = ApiClient.convertToType(data['redirect_uri'], 'String');
7171
}
72+
if (data.hasOwnProperty('role')) {
73+
obj['role'] = ApiClient.convertToType(data['role'], 'String');
74+
}
7275
}
7376
return obj;
7477
}
@@ -82,8 +85,29 @@
8285
* @member {String} redirect_uri
8386
*/
8487
exports.prototype['redirect_uri'] = undefined;
88+
/**
89+
* @member {module:model/CloudInvitation.RoleEnum} role
90+
*/
91+
exports.prototype['role'] = undefined;
8592

8693

94+
/**
95+
* Allowed values for the <code>role</code> property.
96+
* @enum {String}
97+
* @readonly
98+
*/
99+
exports.RoleEnum = {
100+
/**
101+
* value: "100"
102+
* @const
103+
*/
104+
"100": "100",
105+
/**
106+
* value: "50"
107+
* @const
108+
*/
109+
"50": "50" };
110+
87111

88112
return exports;
89113
}));

test/model/CloudInvitation.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@
6969
//expect(instance).to.be();
7070
});
7171

72+
it('should have the property role (base name: "role")', function() {
73+
// uncomment below and update the code to test the property role
74+
//var instance = new bimdata.CloudInvitation();
75+
//expect(instance).to.be();
76+
});
77+
7278
});
7379

7480
}));

0 commit comments

Comments
 (0)