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 pathIfcCheckerCheckplan.js
More file actions
123 lines (101 loc) · 3.61 KB
/
Copy pathIfcCheckerCheckplan.js
File metadata and controls
123 lines (101 loc) · 3.61 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
/**
* 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
* 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 IfcCheckerCheckplan model module.
* @module model/IfcCheckerCheckplan
* @version 0.0.0
*/
class IfcCheckerCheckplan {
/**
* Constructs a new <code>IfcCheckerCheckplan</code>.
* @alias module:model/IfcCheckerCheckplan
* @param name {String}
* @param project {Number}
*/
constructor(name, project) {
IfcCheckerCheckplan.initialize(this, name, project);
}
/**
* 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, name, project) {
obj['name'] = name;
obj['project'] = project;
}
/**
* Constructs a <code>IfcCheckerCheckplan</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/IfcCheckerCheckplan} obj Optional instance to populate.
* @return {module:model/IfcCheckerCheckplan} The populated <code>IfcCheckerCheckplan</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new IfcCheckerCheckplan();
if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'Number');
}
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('description')) {
obj['description'] = ApiClient.convertToType(data['description'], 'String');
}
if (data.hasOwnProperty('created_at')) {
obj['created_at'] = ApiClient.convertToType(data['created_at'], 'Date');
}
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
}
if (data.hasOwnProperty('protected')) {
obj['protected'] = ApiClient.convertToType(data['protected'], 'Boolean');
}
if (data.hasOwnProperty('project')) {
obj['project'] = ApiClient.convertToType(data['project'], 'Number');
}
}
return obj;
}
}
/**
* @member {Number} id
*/
IfcCheckerCheckplan.prototype['id'] = undefined;
/**
* @member {String} name
*/
IfcCheckerCheckplan.prototype['name'] = undefined;
/**
* @member {String} description
*/
IfcCheckerCheckplan.prototype['description'] = undefined;
/**
* @member {Date} created_at
*/
IfcCheckerCheckplan.prototype['created_at'] = undefined;
/**
* @member {Date} updated_at
*/
IfcCheckerCheckplan.prototype['updated_at'] = undefined;
/**
* @member {Boolean} protected
*/
IfcCheckerCheckplan.prototype['protected'] = undefined;
/**
* @member {Number} project
*/
IfcCheckerCheckplan.prototype['project'] = undefined;
export default IfcCheckerCheckplan;