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

Commit d9d281c

Browse files
committed
PATCH: fix bcf extension schema
1 parent 2f15933 commit d9d281c

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

docs/Extensions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**topicType** | [**[TopicType]**](TopicType.md) | |
7-
**topicStatus** | [**[TopicStatus]**](TopicStatus.md) | |
8-
**topicLabel** | [**[Label]**](Label.md) | |
9-
**priority** | [**[Priority]**](Priority.md) | |
6+
**topicType** | **[String]** | |
7+
**topicStatus** | **[String]** | |
8+
**topicLabel** | **[String]** | |
9+
**priority** | **[String]** | |
1010
**userIdType** | **[String]** | | [optional]
11-
**stage** | [**[Stage]**](Stage.md) | |
11+
**stage** | **[String]** | |
1212

1313

src/model/Extensions.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@
1717
(function(root, factory) {
1818
if (typeof define === 'function' && define.amd) {
1919
// AMD. Register as an anonymous module.
20-
define(['ApiClient', 'model/Label', 'model/Priority', 'model/Stage', 'model/TopicStatus', 'model/TopicType'], factory);
20+
define(['ApiClient'], factory);
2121
} else if (typeof module === 'object' && module.exports) {
2222
// CommonJS-like environments that support module.exports, like Node.
23-
module.exports = factory(require('../ApiClient'), require('./Label'), require('./Priority'), require('./Stage'), require('./TopicStatus'), require('./TopicType'));
23+
module.exports = factory(require('../ApiClient'));
2424
} else {
2525
// Browser globals (root is window)
2626
if (!root.bimdata) {
2727
root.bimdata = {};
2828
}
29-
root.bimdata.Extensions = factory(root.bimdata.ApiClient, root.bimdata.Label, root.bimdata.Priority, root.bimdata.Stage, root.bimdata.TopicStatus, root.bimdata.TopicType);
29+
root.bimdata.Extensions = factory(root.bimdata.ApiClient);
3030
}
31-
}(this, function(ApiClient, Label, Priority, Stage, TopicStatus, TopicType) {
31+
}(this, function(ApiClient) {
3232
'use strict';
3333

3434

@@ -43,11 +43,11 @@
4343
* Constructs a new <code>Extensions</code>.
4444
* @alias module:model/Extensions
4545
* @class
46-
* @param topicType {Array.<module:model/TopicType>}
47-
* @param topicStatus {Array.<module:model/TopicStatus>}
48-
* @param topicLabel {Array.<module:model/Label>}
49-
* @param priority {Array.<module:model/Priority>}
50-
* @param stage {Array.<module:model/Stage>}
46+
* @param topicType {Array.<String>}
47+
* @param topicStatus {Array.<String>}
48+
* @param topicLabel {Array.<String>}
49+
* @param priority {Array.<String>}
50+
* @param stage {Array.<String>}
5151
*/
5252
var exports = function(topicType, topicStatus, topicLabel, priority, stage) {
5353
var _this = this;
@@ -70,49 +70,49 @@
7070
if (data) {
7171
obj = obj || new exports();
7272
if (data.hasOwnProperty('topic_type')) {
73-
obj['topic_type'] = ApiClient.convertToType(data['topic_type'], [TopicType]);
73+
obj['topic_type'] = ApiClient.convertToType(data['topic_type'], ['String']);
7474
}
7575
if (data.hasOwnProperty('topic_status')) {
76-
obj['topic_status'] = ApiClient.convertToType(data['topic_status'], [TopicStatus]);
76+
obj['topic_status'] = ApiClient.convertToType(data['topic_status'], ['String']);
7777
}
7878
if (data.hasOwnProperty('topic_label')) {
79-
obj['topic_label'] = ApiClient.convertToType(data['topic_label'], [Label]);
79+
obj['topic_label'] = ApiClient.convertToType(data['topic_label'], ['String']);
8080
}
8181
if (data.hasOwnProperty('priority')) {
82-
obj['priority'] = ApiClient.convertToType(data['priority'], [Priority]);
82+
obj['priority'] = ApiClient.convertToType(data['priority'], ['String']);
8383
}
8484
if (data.hasOwnProperty('user_id_type')) {
8585
obj['user_id_type'] = ApiClient.convertToType(data['user_id_type'], ['String']);
8686
}
8787
if (data.hasOwnProperty('stage')) {
88-
obj['stage'] = ApiClient.convertToType(data['stage'], [Stage]);
88+
obj['stage'] = ApiClient.convertToType(data['stage'], ['String']);
8989
}
9090
}
9191
return obj;
9292
}
9393

9494
/**
95-
* @member {Array.<module:model/TopicType>} topic_type
95+
* @member {Array.<String>} topic_type
9696
*/
9797
exports.prototype['topic_type'] = undefined;
9898
/**
99-
* @member {Array.<module:model/TopicStatus>} topic_status
99+
* @member {Array.<String>} topic_status
100100
*/
101101
exports.prototype['topic_status'] = undefined;
102102
/**
103-
* @member {Array.<module:model/Label>} topic_label
103+
* @member {Array.<String>} topic_label
104104
*/
105105
exports.prototype['topic_label'] = undefined;
106106
/**
107-
* @member {Array.<module:model/Priority>} priority
107+
* @member {Array.<String>} priority
108108
*/
109109
exports.prototype['priority'] = undefined;
110110
/**
111111
* @member {Array.<String>} user_id_type
112112
*/
113113
exports.prototype['user_id_type'] = undefined;
114114
/**
115-
* @member {Array.<module:model/Stage>} stage
115+
* @member {Array.<String>} stage
116116
*/
117117
exports.prototype['stage'] = undefined;
118118

0 commit comments

Comments
 (0)