]> git.basschouten.com Git - openhab-addons.git/blob
cdbd565342e9e1d69566bc1bcd1d2627a5e66407
[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 String deviceDiscoveryId;
54
55     private boolean isLocating;
56
57     private boolean isMac;
58
59     private ICloudDeviceLocation location;
60
61     private boolean locationCapable;
62
63     private boolean locationEnabled;
64
65     private boolean locFoundEnabled;
66
67     private Object lockedTimestamp;
68
69     private Object lostDevice;
70
71     private boolean lostModeCapable;
72
73     private boolean lostModeEnabled;
74
75     private String lostTimestamp;
76
77     private boolean lowPowerMode;
78
79     private int maxMsgChar;
80
81     private Object mesg;
82
83     private String modelDisplayName;
84
85     private Object msg;
86
87     private String name;
88
89     private int passcodeLength;
90
91     private String prsId;
92
93     private String rawDeviceModel;
94
95     private Object remoteLock;
96
97     private Object remoteWipe;
98
99     private Object snd;
100
101     private boolean thisDevice;
102
103     private Object trackingInfo;
104
105     private Object wipedTimestamp;
106
107     private boolean wipeInProgress;
108
109     public boolean getActivationLocked() {
110         return this.activationLocked;
111     }
112
113     public ArrayList<Object> getAudioChannels() {
114         return this.audioChannels;
115     }
116
117     public double getBatteryLevel() {
118         return this.batteryLevel;
119     }
120
121     public String getBatteryStatus() {
122         return this.batteryStatus;
123     }
124
125     public boolean getCanWipeAfterLock() {
126         return this.canWipeAfterLock;
127     }
128
129     public boolean getDarkWake() {
130         return this.darkWake;
131     }
132
133     public String getDeviceClass() {
134         return this.deviceClass;
135     }
136
137     public String getDeviceColor() {
138         return this.deviceColor;
139     }
140
141     public String getDeviceDisplayName() {
142         return this.deviceDisplayName;
143     }
144
145     public String getDeviceModel() {
146         return this.deviceModel;
147     }
148
149     public int getDeviceStatus() {
150         return this.deviceStatus;
151     }
152
153     public ICloudDeviceFeatures getFeatures() {
154         return this.features;
155     }
156
157     public boolean getFmlyShare() {
158         return this.fmlyShare;
159     }
160
161     public String getId() {
162         return this.id;
163     }
164
165     public String getDeviceDiscoveryId() {
166         return this.deviceDiscoveryId;
167     }
168
169     public boolean getIsLocating() {
170         return this.isLocating;
171     }
172
173     public boolean getIsMac() {
174         return this.isMac;
175     }
176
177     public ICloudDeviceLocation getLocation() {
178         return this.location;
179     }
180
181     public boolean getLocationCapable() {
182         return this.locationCapable;
183     }
184
185     public boolean getLocationEnabled() {
186         return this.locationEnabled;
187     }
188
189     public boolean getLocFoundEnabled() {
190         return this.locFoundEnabled;
191     }
192
193     public Object getLockedTimestamp() {
194         return this.lockedTimestamp;
195     }
196
197     public Object getLostDevice() {
198         return this.lostDevice;
199     }
200
201     public boolean getLostModeCapable() {
202         return this.lostModeCapable;
203     }
204
205     public boolean getLostModeEnabled() {
206         return this.lostModeEnabled;
207     }
208
209     public String getLostTimestamp() {
210         return this.lostTimestamp;
211     }
212
213     public boolean getLowPowerMode() {
214         return this.lowPowerMode;
215     }
216
217     public int getMaxMsgChar() {
218         return this.maxMsgChar;
219     }
220
221     public Object getMesg() {
222         return this.mesg;
223     }
224
225     public String getModelDisplayName() {
226         return this.modelDisplayName;
227     }
228
229     public Object getMsg() {
230         return this.msg;
231     }
232
233     public String getName() {
234         return this.name;
235     }
236
237     public int getPasscodeLength() {
238         return this.passcodeLength;
239     }
240
241     public String getPrsId() {
242         return this.prsId;
243     }
244
245     public String getRawDeviceModel() {
246         return this.rawDeviceModel;
247     }
248
249     public Object getRemoteLock() {
250         return this.remoteLock;
251     }
252
253     public Object getRemoteWipe() {
254         return this.remoteWipe;
255     }
256
257     public Object getSnd() {
258         return this.snd;
259     }
260
261     public boolean getThisDevice() {
262         return this.thisDevice;
263     }
264
265     public Object getTrackingInfo() {
266         return this.trackingInfo;
267     }
268
269     public Object getWipedTimestamp() {
270         return this.wipedTimestamp;
271     }
272
273     public boolean getWipeInProgress() {
274         return this.wipeInProgress;
275     }
276 }