]> git.basschouten.com Git - openhab-addons.git/blob
56193d29bf90c5b5fc5bd21c7916efa92abce00c
[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.fronius.internal.api;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link HeadRequestArguments} is responsible for storing
19  * the "RequestArguments" node from the {@link Head}
20  *
21  * @author Thomas Rokohl - Initial contribution
22  */
23 public class HeadRequestArguments {
24     @SerializedName("DataCollection")
25     private String dataCollection;
26     @SerializedName("DeviceClass")
27     private String deviceClass;
28     @SerializedName("DeviceId")
29     private String deviceId;
30     @SerializedName("Scope")
31     private String scope;
32
33     public String getDataCollection() {
34         if (null == dataCollection) {
35             dataCollection = "";
36         }
37         return dataCollection;
38     }
39
40     public void setDataCollection(String dataCollection) {
41         this.dataCollection = dataCollection;
42     }
43
44     public String getDeviceClass() {
45         if (null == deviceClass) {
46             deviceClass = "";
47         }
48         return deviceClass;
49     }
50
51     public void setDeviceClass(String deviceClass) {
52         this.deviceClass = deviceClass;
53     }
54
55     public String getDeviceId() {
56         if (null == deviceId) {
57             deviceId = "";
58         }
59         return deviceId;
60     }
61
62     public void setDeviceId(String deviceId) {
63         this.deviceId = deviceId;
64     }
65
66     public String getScope() {
67         if (null == scope) {
68             scope = "";
69         }
70         return scope;
71     }
72
73     public void setScope(String scope) {
74         this.scope = scope;
75     }
76 }