]> git.basschouten.com Git - openhab-addons.git/blob
81b6de49e9fe574b8f646dfe16f079cb67f10539
[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.hyperion.internal.protocol.ng;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link Priority} is a POJO for priority information in the Hyperion.ng server.
19  *
20  * @author Daniel Walters - Initial contribution
21  */
22 public class Priority {
23
24     @SerializedName("active")
25     private Boolean active;
26
27     @SerializedName("componentId")
28     private String componentId;
29
30     @SerializedName("duration_ms")
31     private Integer durationMs;
32
33     @SerializedName("origin")
34     private String origin;
35
36     @SerializedName("owner")
37     private String owner;
38
39     @SerializedName("priority")
40     private Integer priority;
41
42     @SerializedName("visible")
43     private Boolean visible;
44
45     @SerializedName("value")
46     private Value value;
47
48     public Boolean isActive() {
49         return active;
50     }
51
52     public void setActive(Boolean active) {
53         this.active = active;
54     }
55
56     public String getComponentId() {
57         return componentId;
58     }
59
60     public void setComponentId(String componentId) {
61         this.componentId = componentId;
62     }
63
64     public Integer getDurationMs() {
65         return durationMs;
66     }
67
68     public void setDurationMs(Integer durationMs) {
69         this.durationMs = durationMs;
70     }
71
72     public String getOrigin() {
73         return origin;
74     }
75
76     public void setOrigin(String origin) {
77         this.origin = origin;
78     }
79
80     public String getOwner() {
81         return owner;
82     }
83
84     public void setOwner(String owner) {
85         this.owner = owner;
86     }
87
88     public Integer getPriority() {
89         return priority;
90     }
91
92     public void setPriority(Integer priority) {
93         this.priority = priority;
94     }
95
96     public Boolean isVisible() {
97         return visible;
98     }
99
100     public void setVisible(Boolean visible) {
101         this.visible = visible;
102     }
103
104     public Value getValue() {
105         return value;
106     }
107
108     public void setValue(Value value) {
109         this.value = value;
110     }
111 }