]> git.basschouten.com Git - openhab-addons.git/blob
b3a6b8a472ae0d1ef63fafbd0f4778f1e029fc25
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.icloud.internal.handler.dto.json.response;
14
15 import java.util.ArrayList;
16
17 /**
18  * Serializable class to parse json response received from the Apple server.
19  * Contains device specific status information.
20  *
21  * @author Patrik Gfeller - Initial Contribution
22  *
23  */
24 public class ICloudDeviceInformation {
25     private boolean activationLocked;
26
27     private ArrayList<Object> audioChannels;
28
29     private double batteryLevel;
30
31     private String batteryStatus;
32
33     private boolean canWipeAfterLock;
34
35     private boolean darkWake;
36
37     private String deviceClass;
38
39     private String deviceColor;
40
41     private String deviceDisplayName;
42
43     private String deviceModel;
44
45     private int deviceStatus;
46
47     private ICloudDeviceFeatures features;
48
49     private boolean fmlyShare;
50
51     private String id;
52
53     private boolean isLocating;
54
55     private boolean isMac;
56
57     private ICloudDeviceLocation location;
58
59     private boolean locationCapable;
60
61     private boolean locationEnabled;
62
63     private boolean locFoundEnabled;
64
65     private Object lockedTimestamp;
66
67     private Object lostDevice;
68
69     private boolean lostModeCapable;
70
71     private boolean lostModeEnabled;
72
73     private String lostTimestamp;
74
75     private boolean lowPowerMode;
76
77     private int maxMsgChar;
78
79     private Object mesg;
80
81     private String modelDisplayName;
82
83     private Object msg;
84
85     private String name;
86
87     private int passcodeLength;
88
89     private String prsId;
90
91     private String rawDeviceModel;
92
93     private Object remoteLock;
94
95     private Object remoteWipe;
96
97     private Object snd;
98
99     private boolean thisDevice;
100
101     private Object trackingInfo;
102
103     private Object wipedTimestamp;
104
105     private boolean wipeInProgress;
106
107     public boolean getActivationLocked() {
108         return this.activationLocked;
109     }
110
111     public ArrayList<Object> getAudioChannels() {
112         return this.audioChannels;
113     }
114
115     public double getBatteryLevel() {
116         return this.batteryLevel;
117     }
118
119     public String getBatteryStatus() {
120         return this.batteryStatus;
121     }
122
123     public boolean getCanWipeAfterLock() {
124         return this.canWipeAfterLock;
125     }
126
127     public boolean getDarkWake() {
128         return this.darkWake;
129     }
130
131     public String getDeviceClass() {
132         return this.deviceClass;
133     }
134
135     public String getDeviceColor() {
136         return this.deviceColor;
137     }
138
139     public String getDeviceDisplayName() {
140         return this.deviceDisplayName;
141     }
142
143     public String getDeviceModel() {
144         return this.deviceModel;
145     }
146
147     public int getDeviceStatus() {
148         return this.deviceStatus;
149     }
150
151     public ICloudDeviceFeatures getFeatures() {
152         return this.features;
153     }
154
155     public boolean getFmlyShare() {
156         return this.fmlyShare;
157     }
158
159     public String getId() {
160         return this.id;
161     }
162
163     public boolean getIsLocating() {
164         return this.isLocating;
165     }
166
167     public boolean getIsMac() {
168         return this.isMac;
169     }
170
171     public ICloudDeviceLocation getLocation() {
172         return this.location;
173     }
174
175     public boolean getLocationCapable() {
176         return this.locationCapable;
177     }
178
179     public boolean getLocationEnabled() {
180         return this.locationEnabled;
181     }
182
183     public boolean getLocFoundEnabled() {
184         return this.locFoundEnabled;
185     }
186
187     public Object getLockedTimestamp() {
188         return this.lockedTimestamp;
189     }
190
191     public Object getLostDevice() {
192         return this.lostDevice;
193     }
194
195     public boolean getLostModeCapable() {
196         return this.lostModeCapable;
197     }
198
199     public boolean getLostModeEnabled() {
200         return this.lostModeEnabled;
201     }
202
203     public String getLostTimestamp() {
204         return this.lostTimestamp;
205     }
206
207     public boolean getLowPowerMode() {
208         return this.lowPowerMode;
209     }
210
211     public int getMaxMsgChar() {
212         return this.maxMsgChar;
213     }
214
215     public Object getMesg() {
216         return this.mesg;
217     }
218
219     public String getModelDisplayName() {
220         return this.modelDisplayName;
221     }
222
223     public Object getMsg() {
224         return this.msg;
225     }
226
227     public String getName() {
228         return this.name;
229     }
230
231     public int getPasscodeLength() {
232         return this.passcodeLength;
233     }
234
235     public String getPrsId() {
236         return this.prsId;
237     }
238
239     public String getRawDeviceModel() {
240         return this.rawDeviceModel;
241     }
242
243     public Object getRemoteLock() {
244         return this.remoteLock;
245     }
246
247     public Object getRemoteWipe() {
248         return this.remoteWipe;
249     }
250
251     public Object getSnd() {
252         return this.snd;
253     }
254
255     public boolean getThisDevice() {
256         return this.thisDevice;
257     }
258
259     public Object getTrackingInfo() {
260         return this.trackingInfo;
261     }
262
263     public Object getWipedTimestamp() {
264         return this.wipedTimestamp;
265     }
266
267     public boolean getWipeInProgress() {
268         return this.wipeInProgress;
269     }
270 }