Repository navigation
Expand file tree
/
Copy pathClientDevice.js
More file actions
91 lines (73 loc) · 2.39 KB
/
Copy pathClientDevice.js
File metadata and controls
91 lines (73 loc) · 2.39 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
/**
* 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 ClientDevice model module.
* @module model/ClientDevice
* @version 1.0.0
*/
class ClientDevice {
/**
* Constructs a new <code>ClientDevice</code>.
* Client Device
* @alias module:model/ClientDevice
*/
constructor() {
ClientDevice.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>ClientDevice</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/ClientDevice} obj Optional instance to populate.
* @return {module:model/ClientDevice} The populated <code>ClientDevice</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new ClientDevice();
if (data.hasOwnProperty('DeviceModel')) {
obj['DeviceModel'] = ApiClient.convertToType(data['DeviceModel'], 'String');
}
if (data.hasOwnProperty('DeviceId')) {
obj['DeviceId'] = ApiClient.convertToType(data['DeviceId'], 'String');
}
if (data.hasOwnProperty('DeviceName')) {
obj['DeviceName'] = ApiClient.convertToType(data['DeviceName'], 'String');
}
}
return obj;
}
}
/**
* Device Model
* @member {String} DeviceModel
*/
ClientDevice.prototype['DeviceModel'] = undefined;
/**
* Device Id
* @member {String} DeviceId
*/
ClientDevice.prototype['DeviceId'] = undefined;
/**
* Device Name
* @member {String} DeviceName
*/
ClientDevice.prototype['DeviceName'] = undefined;
export default ClientDevice;