2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.icloud.internal.handler.dto.json.response;
15 import java.util.List;
17 import com.google.gson.annotations.SerializedName;
20 * Serializable class to parse the device information json response
21 * received from the Apple server.
23 * @author Patrik Gfeller - Initial Contribution
25 public class ICloudAccountDataResponse {
27 @SerializedName("content")
28 private List<ICloudDeviceInformation> iCloudDeviceInformationList;
30 @SerializedName("serverContext")
31 private ICloudServerContext iCloudServerContext;
33 @SerializedName("statusCode")
34 private String iCloudAccountStatusCode;
36 @SerializedName("userInfo")
37 private ICloudAccountUserInfo iCloudAccountUserInfo;
39 public List<ICloudDeviceInformation> getICloudDeviceInformationList() {
40 return iCloudDeviceInformationList;
43 public String getICloudAccountStatusCode() {
44 return iCloudAccountStatusCode;
47 public ICloudAccountUserInfo getICloudAccountUserInfo() {
48 return iCloudAccountUserInfo;