]> git.basschouten.com Git - openhab-addons.git/blob
50daab6a6d44cf32fe96af5976073e5d533e9e0f
[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.List;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * Serializable class to parse the device information json response
21  * received from the Apple server.
22  *
23  * @author Patrik Gfeller - Initial Contribution
24  */
25 public class ICloudAccountDataResponse {
26
27     @SerializedName("content")
28     private List<ICloudDeviceInformation> iCloudDeviceInformationList;
29
30     @SerializedName("serverContext")
31     private ICloudServerContext iCloudServerContext;
32
33     @SerializedName("statusCode")
34     private String iCloudAccountStatusCode;
35
36     @SerializedName("userInfo")
37     private ICloudAccountUserInfo iCloudAccountUserInfo;
38
39     public List<ICloudDeviceInformation> getICloudDeviceInformationList() {
40         return iCloudDeviceInformationList;
41     }
42
43     public String getICloudAccountStatusCode() {
44         return iCloudAccountStatusCode;
45     }
46
47     public ICloudAccountUserInfo getICloudAccountUserInfo() {
48         return iCloudAccountUserInfo;
49     }
50 }