|
17 | 17 | (function(root, factory) { |
18 | 18 | if (typeof define === 'function' && define.amd) { |
19 | 19 | // AMD. Register as an anonymous module. |
20 | | - define(['ApiClient', 'model/Label', 'model/Priority', 'model/Stage', 'model/TopicStatus', 'model/TopicType'], factory); |
| 20 | + define(['ApiClient'], factory); |
21 | 21 | } else if (typeof module === 'object' && module.exports) { |
22 | 22 | // 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')); |
24 | 24 | } else { |
25 | 25 | // Browser globals (root is window) |
26 | 26 | if (!root.bimdata) { |
27 | 27 | root.bimdata = {}; |
28 | 28 | } |
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); |
30 | 30 | } |
31 | | -}(this, function(ApiClient, Label, Priority, Stage, TopicStatus, TopicType) { |
| 31 | +}(this, function(ApiClient) { |
32 | 32 | 'use strict'; |
33 | 33 |
|
34 | 34 |
|
|
43 | 43 | * Constructs a new <code>Extensions</code>. |
44 | 44 | * @alias module:model/Extensions |
45 | 45 | * @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>} |
51 | 51 | */ |
52 | 52 | var exports = function(topicType, topicStatus, topicLabel, priority, stage) { |
53 | 53 | var _this = this; |
|
70 | 70 | if (data) { |
71 | 71 | obj = obj || new exports(); |
72 | 72 | 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']); |
74 | 74 | } |
75 | 75 | 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']); |
77 | 77 | } |
78 | 78 | 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']); |
80 | 80 | } |
81 | 81 | if (data.hasOwnProperty('priority')) { |
82 | | - obj['priority'] = ApiClient.convertToType(data['priority'], [Priority]); |
| 82 | + obj['priority'] = ApiClient.convertToType(data['priority'], ['String']); |
83 | 83 | } |
84 | 84 | if (data.hasOwnProperty('user_id_type')) { |
85 | 85 | obj['user_id_type'] = ApiClient.convertToType(data['user_id_type'], ['String']); |
86 | 86 | } |
87 | 87 | if (data.hasOwnProperty('stage')) { |
88 | | - obj['stage'] = ApiClient.convertToType(data['stage'], [Stage]); |
| 88 | + obj['stage'] = ApiClient.convertToType(data['stage'], ['String']); |
89 | 89 | } |
90 | 90 | } |
91 | 91 | return obj; |
92 | 92 | } |
93 | 93 |
|
94 | 94 | /** |
95 | | - * @member {Array.<module:model/TopicType>} topic_type |
| 95 | + * @member {Array.<String>} topic_type |
96 | 96 | */ |
97 | 97 | exports.prototype['topic_type'] = undefined; |
98 | 98 | /** |
99 | | - * @member {Array.<module:model/TopicStatus>} topic_status |
| 99 | + * @member {Array.<String>} topic_status |
100 | 100 | */ |
101 | 101 | exports.prototype['topic_status'] = undefined; |
102 | 102 | /** |
103 | | - * @member {Array.<module:model/Label>} topic_label |
| 103 | + * @member {Array.<String>} topic_label |
104 | 104 | */ |
105 | 105 | exports.prototype['topic_label'] = undefined; |
106 | 106 | /** |
107 | | - * @member {Array.<module:model/Priority>} priority |
| 107 | + * @member {Array.<String>} priority |
108 | 108 | */ |
109 | 109 | exports.prototype['priority'] = undefined; |
110 | 110 | /** |
111 | 111 | * @member {Array.<String>} user_id_type |
112 | 112 | */ |
113 | 113 | exports.prototype['user_id_type'] = undefined; |
114 | 114 | /** |
115 | | - * @member {Array.<module:model/Stage>} stage |
| 115 | + * @member {Array.<String>} stage |
116 | 116 | */ |
117 | 117 | exports.prototype['stage'] = undefined; |
118 | 118 |
|
|
0 commit comments