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 pathExtensions.js
More file actions
186 lines (159 loc) · 6.75 KB
/
Copy pathExtensions.js
File metadata and controls
186 lines (159 loc) · 6.75 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
/**
* 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';
/**
* The Extensions model module.
* @module model/Extensions
* @version 0.0.0
*/
class Extensions {
/**
* Constructs a new <code>Extensions</code>.
* @alias module:model/Extensions
* @param topicType {Array.<String>}
* @param topicStatus {Array.<String>}
* @param topicLabel {Array.<String>}
* @param priority {Array.<String>}
* @param stage {Array.<String>}
* @param userIdType {Array.<String>}
* @param priorityColors {Array.<String>} Non standard field. Arrays of priorities and this array are in the same order.
* @param topicStatusColors {Array.<String>} Non standard field. Arrays of statuses and this array are in the same order.
* @param snippetType {Array.<String>} Snippet are not yet supported. This field will always be null.
* @param projectActions {Array.<String>}
* @param topicActions {Array.<String>}
* @param commentActions {Array.<String>}
*/
constructor(topicType, topicStatus, topicLabel, priority, stage, userIdType, priorityColors, topicStatusColors, snippetType, projectActions, topicActions, commentActions) {
Extensions.initialize(this, topicType, topicStatus, topicLabel, priority, stage, userIdType, priorityColors, topicStatusColors, snippetType, projectActions, topicActions, commentActions);
}
/**
* 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, topicType, topicStatus, topicLabel, priority, stage, userIdType, priorityColors, topicStatusColors, snippetType, projectActions, topicActions, commentActions) {
obj['topic_type'] = topicType;
obj['topic_status'] = topicStatus;
obj['topic_label'] = topicLabel;
obj['priority'] = priority;
obj['stage'] = stage;
obj['user_id_type'] = userIdType;
obj['priority_colors'] = priorityColors;
obj['topic_status_colors'] = topicStatusColors;
obj['snippet_type'] = snippetType;
obj['project_actions'] = projectActions;
obj['topic_actions'] = topicActions;
obj['comment_actions'] = commentActions;
}
/**
* Constructs a <code>Extensions</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/Extensions} obj Optional instance to populate.
* @return {module:model/Extensions} The populated <code>Extensions</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new Extensions();
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('topic_label')) {
obj['topic_label'] = ApiClient.convertToType(data['topic_label'], ['String']);
}
if (data.hasOwnProperty('priority')) {
obj['priority'] = ApiClient.convertToType(data['priority'], ['String']);
}
if (data.hasOwnProperty('stage')) {
obj['stage'] = ApiClient.convertToType(data['stage'], ['String']);
}
if (data.hasOwnProperty('user_id_type')) {
obj['user_id_type'] = ApiClient.convertToType(data['user_id_type'], ['String']);
}
if (data.hasOwnProperty('priority_colors')) {
obj['priority_colors'] = ApiClient.convertToType(data['priority_colors'], ['String']);
}
if (data.hasOwnProperty('topic_status_colors')) {
obj['topic_status_colors'] = ApiClient.convertToType(data['topic_status_colors'], ['String']);
}
if (data.hasOwnProperty('snippet_type')) {
obj['snippet_type'] = ApiClient.convertToType(data['snippet_type'], ['String']);
}
if (data.hasOwnProperty('project_actions')) {
obj['project_actions'] = ApiClient.convertToType(data['project_actions'], ['String']);
}
if (data.hasOwnProperty('topic_actions')) {
obj['topic_actions'] = ApiClient.convertToType(data['topic_actions'], ['String']);
}
if (data.hasOwnProperty('comment_actions')) {
obj['comment_actions'] = ApiClient.convertToType(data['comment_actions'], ['String']);
}
}
return obj;
}
}
/**
* @member {Array.<String>} topic_type
*/
Extensions.prototype['topic_type'] = undefined;
/**
* @member {Array.<String>} topic_status
*/
Extensions.prototype['topic_status'] = undefined;
/**
* @member {Array.<String>} topic_label
*/
Extensions.prototype['topic_label'] = undefined;
/**
* @member {Array.<String>} priority
*/
Extensions.prototype['priority'] = undefined;
/**
* @member {Array.<String>} stage
*/
Extensions.prototype['stage'] = undefined;
/**
* @member {Array.<String>} user_id_type
*/
Extensions.prototype['user_id_type'] = undefined;
/**
* Non standard field. Arrays of priorities and this array are in the same order.
* @member {Array.<String>} priority_colors
*/
Extensions.prototype['priority_colors'] = undefined;
/**
* Non standard field. Arrays of statuses and this array are in the same order.
* @member {Array.<String>} topic_status_colors
*/
Extensions.prototype['topic_status_colors'] = undefined;
/**
* Snippet are not yet supported. This field will always be null.
* @member {Array.<String>} snippet_type
*/
Extensions.prototype['snippet_type'] = undefined;
/**
* @member {Array.<String>} project_actions
*/
Extensions.prototype['project_actions'] = undefined;
/**
* @member {Array.<String>} topic_actions
*/
Extensions.prototype['topic_actions'] = undefined;
/**
* @member {Array.<String>} comment_actions
*/
Extensions.prototype['comment_actions'] = undefined;
export default Extensions;