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