]> git.basschouten.com Git - openhab-addons.git/blob
c2846270a01f3836e05c83ebe2b5481d2482348f
[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.verisure.internal.dto;
14
15 import java.math.BigDecimal;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
19 import org.openhab.core.thing.ThingTypeUID;
20
21 /**
22  * The base identifer of all Verisure response objects.
23  *
24  * @author Jarle Hjortland - Initial contribution
25  * @author Jan Gustafsson - Further development
26  *
27  */
28 @NonNullByDefault
29 public interface VerisureThingDTO {
30
31     String getDeviceId();
32
33     void setDeviceId(String deviceId);
34
35     @Nullable
36     String getLocation();
37
38     void setSiteName(@Nullable String siteName);
39
40     @Nullable
41     String getSiteName();
42
43     void setSiteId(BigDecimal siteId);
44
45     BigDecimal getSiteId();
46
47     ThingTypeUID getThingTypeUID();
48 }