This repository was archived by the owner on Nov 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathFullTopicRequest.js
More file actions
246 lines (209 loc) · 7.9 KB
/
Copy pathFullTopicRequest.js
File metadata and controls
246 lines (209 loc) · 7.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
/**
* BIMData API
* BIMData API is a tool to interact with your models stored on BIMData’s servers. Through the API, you can manage your projects, the clouds, upload your IFC files and manage them through endpoints.
*
* The version of the OpenAPI document: v1 (v1)
* Contact: support@bimdata.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
*/
import ApiClient from '../ApiClient';
import CommentRequest from './CommentRequest';
import ViewpointRequest from './ViewpointRequest';
/**
* The FullTopicRequest model module.
* @module model/FullTopicRequest
* @version 0.0.0
*/
class FullTopicRequest {
/**
* Constructs a new <code>FullTopicRequest</code>.
* @alias module:model/FullTopicRequest
* @param title {String}
*/
constructor(title) {
FullTopicRequest.initialize(this, title);
}
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
static initialize(obj, title) {
obj['title'] = title;
}
/**
* Constructs a <code>FullTopicRequest</code> from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:model/FullTopicRequest} obj Optional instance to populate.
* @return {module:model/FullTopicRequest} The populated <code>FullTopicRequest</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new FullTopicRequest();
if (data.hasOwnProperty('guid')) {
obj['guid'] = ApiClient.convertToType(data['guid'], 'String');
}
if (data.hasOwnProperty('creation_date')) {
obj['creation_date'] = ApiClient.convertToType(data['creation_date'], 'Date');
}
if (data.hasOwnProperty('creation_author')) {
obj['creation_author'] = ApiClient.convertToType(data['creation_author'], 'String');
}
if (data.hasOwnProperty('modified_author')) {
obj['modified_author'] = ApiClient.convertToType(data['modified_author'], 'String');
}
if (data.hasOwnProperty('title')) {
obj['title'] = ApiClient.convertToType(data['title'], 'String');
}
if (data.hasOwnProperty('description')) {
obj['description'] = ApiClient.convertToType(data['description'], 'String');
}
if (data.hasOwnProperty('reference_links')) {
obj['reference_links'] = ApiClient.convertToType(data['reference_links'], ['String']);
}
if (data.hasOwnProperty('ifcs')) {
obj['ifcs'] = ApiClient.convertToType(data['ifcs'], ['Number']);
}
if (data.hasOwnProperty('models')) {
obj['models'] = ApiClient.convertToType(data['models'], ['Number']);
}
if (data.hasOwnProperty('labels')) {
obj['labels'] = ApiClient.convertToType(data['labels'], ['String']);
}
if (data.hasOwnProperty('topic_type')) {
obj['topic_type'] = ApiClient.convertToType(data['topic_type'], 'String');
}
if (data.hasOwnProperty('topic_status')) {
obj['topic_status'] = ApiClient.convertToType(data['topic_status'], 'String');
}
if (data.hasOwnProperty('stage')) {
obj['stage'] = ApiClient.convertToType(data['stage'], 'String');
}
if (data.hasOwnProperty('priority')) {
obj['priority'] = ApiClient.convertToType(data['priority'], 'String');
}
if (data.hasOwnProperty('index')) {
obj['index'] = ApiClient.convertToType(data['index'], 'Number');
}
if (data.hasOwnProperty('assigned_to')) {
obj['assigned_to'] = ApiClient.convertToType(data['assigned_to'], 'String');
}
if (data.hasOwnProperty('format')) {
obj['format'] = ApiClient.convertToType(data['format'], 'String');
}
if (data.hasOwnProperty('due_date')) {
obj['due_date'] = ApiClient.convertToType(data['due_date'], 'Date');
}
if (data.hasOwnProperty('comments')) {
obj['comments'] = ApiClient.convertToType(data['comments'], [CommentRequest]);
}
if (data.hasOwnProperty('viewpoints')) {
obj['viewpoints'] = ApiClient.convertToType(data['viewpoints'], [ViewpointRequest]);
}
if (data.hasOwnProperty('bimdata_viewer_layout')) {
obj['bimdata_viewer_layout'] = ApiClient.convertToType(data['bimdata_viewer_layout'], Object);
}
if (data.hasOwnProperty('groups')) {
obj['groups'] = ApiClient.convertToType(data['groups'], ['Number']);
}
}
return obj;
}
}
/**
* @member {String} guid
*/
FullTopicRequest.prototype['guid'] = undefined;
/**
* @member {Date} creation_date
*/
FullTopicRequest.prototype['creation_date'] = undefined;
/**
* @member {String} creation_author
*/
FullTopicRequest.prototype['creation_author'] = undefined;
/**
* @member {String} modified_author
*/
FullTopicRequest.prototype['modified_author'] = undefined;
/**
* @member {String} title
*/
FullTopicRequest.prototype['title'] = undefined;
/**
* @member {String} description
*/
FullTopicRequest.prototype['description'] = undefined;
/**
* @member {Array.<String>} reference_links
*/
FullTopicRequest.prototype['reference_links'] = undefined;
/**
* DEPRECATED: Use 'models' instead
* @member {Array.<Number>} ifcs
*/
FullTopicRequest.prototype['ifcs'] = undefined;
/**
* @member {Array.<Number>} models
*/
FullTopicRequest.prototype['models'] = undefined;
/**
* @member {Array.<String>} labels
*/
FullTopicRequest.prototype['labels'] = undefined;
/**
* @member {String} topic_type
*/
FullTopicRequest.prototype['topic_type'] = undefined;
/**
* @member {String} topic_status
*/
FullTopicRequest.prototype['topic_status'] = undefined;
/**
* @member {String} stage
*/
FullTopicRequest.prototype['stage'] = undefined;
/**
* @member {String} priority
*/
FullTopicRequest.prototype['priority'] = undefined;
/**
* @member {Number} index
*/
FullTopicRequest.prototype['index'] = undefined;
/**
* @member {String} assigned_to
*/
FullTopicRequest.prototype['assigned_to'] = undefined;
/**
* The BCF data structure may be used for other purposes than BCF Topics. (Storing coordinates, a viewpoint, a list of objecs, etc) The default value is \"standard\". If you want to use the BCF routes to store custom data not related to a BCF Topic, you must set this value to something else. You must add a query string filter if you want to fetch topics with a non \"standard\" format.
* @member {String} format
*/
FullTopicRequest.prototype['format'] = undefined;
/**
* @member {Date} due_date
*/
FullTopicRequest.prototype['due_date'] = undefined;
/**
* @member {Array.<module:model/CommentRequest>} comments
*/
FullTopicRequest.prototype['comments'] = undefined;
/**
* @member {Array.<module:model/ViewpointRequest>} viewpoints
*/
FullTopicRequest.prototype['viewpoints'] = undefined;
/**
* Non standard field. JSON describing bimdataViewerLayout.
* @member {Object} bimdata_viewer_layout
*/
FullTopicRequest.prototype['bimdata_viewer_layout'] = undefined;
/**
* @member {Array.<Number>} groups
*/
FullTopicRequest.prototype['groups'] = undefined;
export default FullTopicRequest;