]> git.basschouten.com Git - openhab-addons.git/blob
d4a445984d9ae5c1b01a6c7693718d3de832dd32
[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.ventaair.internal.message.dto;
14
15 import org.openhab.binding.ventaair.internal.message.action.AllActions;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * Message send by the device, containing information about its current state
21  *
22  * @author Stefan Triller - Initial contribution
23  *
24  */
25 public class DeviceInfoMessage extends Message {
26
27     public DeviceInfoMessage(Header header) {
28         super(header);
29     }
30
31     @SerializedName(value = "Action")
32     private AllActions currentActions;
33
34     @SerializedName(value = "Info")
35     private Info info;
36
37     @SerializedName(value = "Measure")
38     private Measurements measurements;
39
40     public AllActions getCurrentActions() {
41         return currentActions;
42     }
43
44     public Info getInfo() {
45         return info;
46     }
47
48     public Measurements getMeasurements() {
49         return measurements;
50     }
51 }