]> git.basschouten.com Git - openhab-addons.git/blob
f63f8c3dfe62b91c136ef4582b607d1a73dcfa2a
[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.neeo.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * Configuration used by {@link org.openhab.binding.neeo.internal.handler.NeeoDeviceHandler}
20  *
21  * @author Tim Roberts - Initial contribution
22  */
23 @NonNullByDefault
24 public class NeeoDeviceConfig {
25
26     /** The NEEO device key */
27     @Nullable
28     private String deviceKey;
29
30     /**
31      * Gets the device key
32      *
33      * @return the device key
34      */
35     @Nullable
36     public String getDeviceKey() {
37         return deviceKey;
38     }
39
40     /**
41      * Sets the device key.
42      *
43      * @param deviceKey the new device key
44      */
45     public void setDeviceKey(String deviceKey) {
46         this.deviceKey = deviceKey;
47     }
48 }