2 * Copyright (c) 2010-2020 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.amazonechocontrol.internal.jsons;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * The {@link JsonDevices} encapsulate the GSON data of device list
21 * @author Michael Geramb - Initial contribution
24 public class JsonDevices {
26 public static class Device {
27 public @Nullable String accountName;
28 public @Nullable String serialNumber;
29 public @Nullable String deviceOwnerCustomerId;
30 public @Nullable String deviceAccountId;
31 public @Nullable String deviceFamily;
32 public @Nullable String deviceType;
33 public @Nullable String softwareVersion;
34 public boolean online;
35 public @Nullable String @Nullable [] capabilities;
38 public @Nullable Device @Nullable [] devices;