]> git.basschouten.com Git - openhab-addons.git/blob
00306561b0c09563efa62fa27295f6eb5722229f
[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.nikohomecontrol.internal.protocol.nhc2;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * {@link NhcTimeInfo2} represents Niko Home Control II timeinfo. It is used when parsing the timeinfo response json.
21  *
22  * @author Mark Herwege - Initial Contribution
23  */
24 @NonNullByDefault
25 public class NhcTimeInfo2 {
26     @SerializedName(value = "GMTOffset")
27     String gmtOffset = "";
28     String timezone = "";
29     String isDST = "";
30     @SerializedName(value = "UTCTime")
31     String utcTime = "";
32
33     /**
34      * @return the gMTOffset
35      */
36     public String getGMTOffset() {
37         return gmtOffset;
38     }
39
40     /**
41      * @return the timeZone
42      */
43     public String getTimezone() {
44         return timezone;
45     }
46
47     /**
48      * @return the isDST
49      */
50     public String getIsDst() {
51         return isDST;
52     }
53
54     /**
55      * @return the uTCTime
56      */
57     public String getUTCTime() {
58         return utcTime;
59     }
60 }