]> git.basschouten.com Git - openhab-addons.git/blob
fac2be14600bf5092d69264251318490b09a5f26
[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.pixometer.internal.config;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link MeterInstance} class is the representing java model for the json result for a meter from the pixometer
19  * api
20  *
21  * @author Jerome Luckenbach - Initial Contribution
22  *
23  */
24 @NonNullByDefault
25 public class MeterInstance {
26
27     private @NonNullByDefault({}) String url;
28     private @NonNullByDefault({}) String owner;
29     private @NonNullByDefault({}) String changedHash;
30     private @NonNullByDefault({}) String created;
31     private @NonNullByDefault({}) String modified;
32     private @NonNullByDefault({}) String appearance;
33     private @NonNullByDefault({}) Integer fractionDigits;
34     private @NonNullByDefault({}) Boolean isDoubleTariff;
35     private @NonNullByDefault({}) String locationInBuilding;
36     private @NonNullByDefault({}) String meterId;
37     private @NonNullByDefault({}) String physicalMedium;
38     private @NonNullByDefault({}) String physicalUnit;
39     private @NonNullByDefault({}) Integer integerDigits;
40     private @NonNullByDefault({}) String registerOrder;
41     private @NonNullByDefault({}) Object city;
42     private @NonNullByDefault({}) Object zipCode;
43     private @NonNullByDefault({}) Object address;
44     private @NonNullByDefault({}) Object description;
45     private @NonNullByDefault({}) Object label;
46     private @NonNullByDefault({}) Integer resourceId;
47
48     public String getUrl() {
49         return url;
50     }
51
52     public void setUrl(String url) {
53         this.url = url;
54     }
55
56     public String getOwner() {
57         return owner;
58     }
59
60     public void setOwner(String owner) {
61         this.owner = owner;
62     }
63
64     public String getChangedHash() {
65         return changedHash;
66     }
67
68     public void setChangedHash(String changedHash) {
69         this.changedHash = changedHash;
70     }
71
72     public String getCreated() {
73         return created;
74     }
75
76     public void setCreated(String created) {
77         this.created = created;
78     }
79
80     public String getModified() {
81         return modified;
82     }
83
84     public void setModified(String modified) {
85         this.modified = modified;
86     }
87
88     public String getAppearance() {
89         return appearance;
90     }
91
92     public void setAppearance(String appearance) {
93         this.appearance = appearance;
94     }
95
96     public Integer getFractionDigits() {
97         return fractionDigits;
98     }
99
100     public void setFractionDigits(Integer fractionDigits) {
101         this.fractionDigits = fractionDigits;
102     }
103
104     public Boolean getIsDoubleTariff() {
105         return isDoubleTariff;
106     }
107
108     public void setIsDoubleTariff(Boolean isDoubleTariff) {
109         this.isDoubleTariff = isDoubleTariff;
110     }
111
112     public String getLocationInBuilding() {
113         return locationInBuilding;
114     }
115
116     public void setLocationInBuilding(String locationInBuilding) {
117         this.locationInBuilding = locationInBuilding;
118     }
119
120     public String getMeterId() {
121         return meterId;
122     }
123
124     public void setMeterId(String meterId) {
125         this.meterId = meterId;
126     }
127
128     public String getPhysicalMedium() {
129         return physicalMedium;
130     }
131
132     public void setPhysicalMedium(String physicalMedium) {
133         this.physicalMedium = physicalMedium;
134     }
135
136     public String getPhysicalUnit() {
137         return physicalUnit;
138     }
139
140     public void setPhysicalUnit(String physicalUnit) {
141         this.physicalUnit = physicalUnit;
142     }
143
144     public Integer getIntegerDigits() {
145         return integerDigits;
146     }
147
148     public void setIntegerDigits(Integer integerDigits) {
149         this.integerDigits = integerDigits;
150     }
151
152     public String getRegisterOrder() {
153         return registerOrder;
154     }
155
156     public void setRegisterOrder(String registerOrder) {
157         this.registerOrder = registerOrder;
158     }
159
160     public Object getCity() {
161         return city;
162     }
163
164     public void setCity(Object city) {
165         this.city = city;
166     }
167
168     public Object getZipCode() {
169         return zipCode;
170     }
171
172     public void setZipCode(Object zipCode) {
173         this.zipCode = zipCode;
174     }
175
176     public Object getAddress() {
177         return address;
178     }
179
180     public void setAddress(Object address) {
181         this.address = address;
182     }
183
184     public Object getDescription() {
185         return description;
186     }
187
188     public void setDescription(Object description) {
189         this.description = description;
190     }
191
192     public Object getLabel() {
193         return label;
194     }
195
196     public void setLabel(Object label) {
197         this.label = label;
198     }
199
200     public Integer getResourceId() {
201         return resourceId;
202     }
203
204     public void setResourceId(Integer resourceId) {
205         this.resourceId = resourceId;
206     }
207 }