]> git.basschouten.com Git - openhab-addons.git/blob
d7c66a8e2606ef3fe7972a97bc85e5e828644a40
[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.plugwiseha.internal.api.model.dto;
14
15 import com.thoughtworks.xstream.annotations.XStreamAlias;
16
17 /**
18  * @author B. van Wetten - Initial contribution
19  */
20 @XStreamAlias("relay_functionality")
21 public class ActuatorFunctionalityRelay extends ActuatorFunctionality {
22
23     @SuppressWarnings("unused")
24     private String state;
25     @SuppressWarnings("unused")
26     private Boolean lock;
27
28     public ActuatorFunctionalityRelay(String state) {
29         this.state = state;
30     }
31
32     public ActuatorFunctionalityRelay(String state, Boolean lock) {
33         this.state = state;
34         this.lock = lock;
35     }
36 }