2 * Copyright (c) 2010-2022 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.sensibo.internal.dto.poddetails;
17 import com.google.gson.annotations.SerializedName;
20 * All classes in the ..binding.sensibo.dto are data transfer classes used by the GSON mapper. This class reflects a
21 * part of a request/response data structure.
23 * @author Arne Seime - Initial contribution.
25 public class PodDetailsDTO {
27 public String macAddress;
28 public String firmwareVersion;
29 public String firmwareType;
30 @SerializedName("serial")
31 public String serialNumber;
32 public String temperatureUnit;
33 public String productModel;
34 public AcStateDTO acState;
35 @SerializedName("measurements")
36 public MeasurementDTO lastMeasurement;
37 public ConnectionStatusDTO connectionStatus;
39 public ScheduleDTO[] schedules;
40 public TimerDTO timer;
41 private ModeCapabilityWrapperDTO remoteCapabilities;
43 public Map<String, ModeCapabilityDTO> getRemoteCapabilities() {
44 return remoteCapabilities.modes;
47 public boolean isAlive() {
48 return connectionStatus.alive;
51 public String getRoomName() {