]> git.basschouten.com Git - openhab-addons.git/blob
dd668e2f15e39805a1906555c16d6bf380d19940
[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.hyperion.internal.protocol.v1;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link Effect} is a POJO for a response from the Hyperion server.
19  *
20  * @author Daniel Walters - Initial contribution
21  */
22 public class V1Response {
23
24     @SerializedName("command")
25     private String command;
26
27     @SerializedName("success")
28     private boolean success;
29
30     @SerializedName("tan")
31     private int tan;
32
33     @SerializedName("info")
34     private V1Info info;
35
36     public String getCommand() {
37         return command;
38     }
39
40     public boolean isSuccess() {
41         return success;
42     }
43
44     public int getTan() {
45         return tan;
46     }
47
48     public V1Info getInfo() {
49         return info;
50     }
51 }