Repository navigation
Expand file tree
/
Copy pathBuildResultModel.js
More file actions
82 lines (65 loc) · 2.18 KB
/
Copy pathBuildResultModel.js
File metadata and controls
82 lines (65 loc) · 2.18 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
/**
* Flipdish Open API v1.0
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.0
*
*
* 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 BuildResultModel model module.
* @module model/BuildResultModel
* @version 1.0.0
*/
class BuildResultModel {
/**
* Constructs a new <code>BuildResultModel</code>.
* Build result model
* @alias module:model/BuildResultModel
*/
constructor() {
BuildResultModel.initialize(this);
}
/**
* 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) {
}
/**
* Constructs a <code>BuildResultModel</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/BuildResultModel} obj Optional instance to populate.
* @return {module:model/BuildResultModel} The populated <code>BuildResultModel</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new BuildResultModel();
if (data.hasOwnProperty('Message')) {
obj['Message'] = ApiClient.convertToType(data['Message'], 'String');
}
if (data.hasOwnProperty('BuildId')) {
obj['BuildId'] = ApiClient.convertToType(data['BuildId'], 'String');
}
}
return obj;
}
}
/**
* Build result message
* @member {String} Message
*/
BuildResultModel.prototype['Message'] = undefined;
/**
* Build ID or reference
* @member {String} BuildId
*/
BuildResultModel.prototype['BuildId'] = undefined;
export default BuildResultModel;