]> git.basschouten.com Git - openhab-addons.git/blob
1821e7e09b0de1c8597917ce181920b234cf37dd
[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.orbitbhyve.internal.model;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 import com.google.gson.annotations.SerializedName;
18
19 /**
20  * The {@link OrbitBhyveProgram} holds information about a B-Hyve
21  * device programs.
22  *
23  * @author Ondrej Pecta - Initial contribution
24  */
25 @NonNullByDefault
26 public class OrbitBhyveProgram {
27     @SerializedName("device_id")
28     String deviceId = "";
29
30     String program = "";
31     String name = "";
32     String id = "";
33     boolean enabled = false;
34
35     public String getDeviceId() {
36         return deviceId;
37     }
38
39     public String getProgram() {
40         return program;
41     }
42
43     public String getName() {
44         return name;
45     }
46
47     public String getId() {
48         return id;
49     }
50
51     public boolean isEnabled() {
52         return enabled;
53     }
54 }