]> git.basschouten.com Git - openhab-addons.git/blob
64381c59c95cd92f1dca4e2f71f06aa1b8a6c557
[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.lametrictime.internal.api.local.dto;
14
15 /**
16  * Pojo for endpoints.
17  *
18  * @author Gregory Moyer - Initial contribution
19  */
20 public class Endpoints {
21     private String appsActionUrl;
22     private String appsGetUrl;
23     private String appsListUrl;
24     private String appsSwitchNextUrl;
25     private String appsSwitchPrevUrl;
26     private String appsSwitchUrl;
27     private String audioUrl;
28     private String bluetoothUrl;
29     private String concreteNotificationUrl;
30     private String currentNotificationUrl;
31     private String deviceUrl;
32     private String displayUrl;
33     private String notificationsUrl;
34     private String widgetUpdateUrl;
35     private String wifiUrl;
36
37     public String getAppsActionUrl() {
38         return appsActionUrl;
39     }
40
41     public void setAppsActionUrl(String appsActionUrl) {
42         this.appsActionUrl = appsActionUrl;
43     }
44
45     public Endpoints withAppsActionUrl(String appsActionUrl) {
46         this.appsActionUrl = appsActionUrl;
47         return this;
48     }
49
50     public String getAppsGetUrl() {
51         return appsGetUrl;
52     }
53
54     public void setAppsGetUrl(String appsGetUrl) {
55         this.appsGetUrl = appsGetUrl;
56     }
57
58     public Endpoints withAppsGetUrl(String appsGetUrl) {
59         this.appsGetUrl = appsGetUrl;
60         return this;
61     }
62
63     public String getAppsListUrl() {
64         return appsListUrl;
65     }
66
67     public void setAppsListUrl(String appsListUrl) {
68         this.appsListUrl = appsListUrl;
69     }
70
71     public Endpoints withAppsListUrl(String appsListUrl) {
72         this.appsListUrl = appsListUrl;
73         return this;
74     }
75
76     public String getAppsSwitchNextUrl() {
77         return appsSwitchNextUrl;
78     }
79
80     public void setAppsSwitchNextUrl(String appsSwitchNextUrl) {
81         this.appsSwitchNextUrl = appsSwitchNextUrl;
82     }
83
84     public Endpoints withAppsSwitchNextUrl(String appsSwitchNextUrl) {
85         this.appsSwitchNextUrl = appsSwitchNextUrl;
86         return this;
87     }
88
89     public String getAppsSwitchPrevUrl() {
90         return appsSwitchPrevUrl;
91     }
92
93     public void setAppsSwitchPrevUrl(String appsSwitchPrevUrl) {
94         this.appsSwitchPrevUrl = appsSwitchPrevUrl;
95     }
96
97     public Endpoints withAppsSwitchPrevUrl(String appsSwitchPrevUrl) {
98         this.appsSwitchPrevUrl = appsSwitchPrevUrl;
99         return this;
100     }
101
102     public String getAppsSwitchUrl() {
103         return appsSwitchUrl;
104     }
105
106     public void setAppsSwitchUrl(String appsSwitchUrl) {
107         this.appsSwitchUrl = appsSwitchUrl;
108     }
109
110     public Endpoints withAppsSwitchUrl(String appsSwitchUrl) {
111         this.appsSwitchUrl = appsSwitchUrl;
112         return this;
113     }
114
115     public String getAudioUrl() {
116         return audioUrl;
117     }
118
119     public void setAudioUrl(String audioUrl) {
120         this.audioUrl = audioUrl;
121     }
122
123     public Endpoints withAudioUrl(String audioUrl) {
124         this.audioUrl = audioUrl;
125         return this;
126     }
127
128     public String getBluetoothUrl() {
129         return bluetoothUrl;
130     }
131
132     public void setBluetoothUrl(String bluetoothUrl) {
133         this.bluetoothUrl = bluetoothUrl;
134     }
135
136     public Endpoints withBluetoothUrl(String bluetoothUrl) {
137         this.bluetoothUrl = bluetoothUrl;
138         return this;
139     }
140
141     public String getConcreteNotificationUrl() {
142         return concreteNotificationUrl;
143     }
144
145     public void setConcreteNotificationUrl(String concreteNotificationUrl) {
146         this.concreteNotificationUrl = concreteNotificationUrl;
147     }
148
149     public Endpoints withConcreteNotificationUrl(String concreteNotificationUrl) {
150         this.concreteNotificationUrl = concreteNotificationUrl;
151         return this;
152     }
153
154     public String getCurrentNotificationUrl() {
155         return currentNotificationUrl;
156     }
157
158     public void setCurrentNotificationUrl(String currentNotificationUrl) {
159         this.currentNotificationUrl = currentNotificationUrl;
160     }
161
162     public Endpoints withCurrentNotificationUrl(String currentNotificationUrl) {
163         this.currentNotificationUrl = currentNotificationUrl;
164         return this;
165     }
166
167     public String getDeviceUrl() {
168         return deviceUrl;
169     }
170
171     public void setDeviceUrl(String deviceUrl) {
172         this.deviceUrl = deviceUrl;
173     }
174
175     public Endpoints withDeviceUrl(String deviceUrl) {
176         this.deviceUrl = deviceUrl;
177         return this;
178     }
179
180     public String getDisplayUrl() {
181         return displayUrl;
182     }
183
184     public void setDisplayUrl(String displayUrl) {
185         this.displayUrl = displayUrl;
186     }
187
188     public Endpoints withDisplayUrl(String displayUrl) {
189         this.displayUrl = displayUrl;
190         return this;
191     }
192
193     public String getNotificationsUrl() {
194         return notificationsUrl;
195     }
196
197     public void setNotificationsUrl(String notificationsUrl) {
198         this.notificationsUrl = notificationsUrl;
199     }
200
201     public Endpoints withNotificationsUrl(String notificationsUrl) {
202         this.notificationsUrl = notificationsUrl;
203         return this;
204     }
205
206     public String getWidgetUpdateUrl() {
207         return widgetUpdateUrl;
208     }
209
210     public void setWidgetUpdateUrl(String widgetUpdateUrl) {
211         this.widgetUpdateUrl = widgetUpdateUrl;
212     }
213
214     public Endpoints withWidgetUpdateUrl(String widgetUpdateUrl) {
215         this.widgetUpdateUrl = widgetUpdateUrl;
216         return this;
217     }
218
219     public String getWifiUrl() {
220         return wifiUrl;
221     }
222
223     public void setWifiUrl(String wifiUrl) {
224         this.wifiUrl = wifiUrl;
225     }
226
227     public Endpoints withWifiUrl(String wifiUrl) {
228         this.wifiUrl = wifiUrl;
229         return this;
230     }
231
232     @Override
233     public String toString() {
234         StringBuilder builder = new StringBuilder();
235         builder.append("Endpoints [appsActionUrl=");
236         builder.append(appsActionUrl);
237         builder.append(", appsGetUrl=");
238         builder.append(appsGetUrl);
239         builder.append(", appsListUrl=");
240         builder.append(appsListUrl);
241         builder.append(", appsSwitchNextUrl=");
242         builder.append(appsSwitchNextUrl);
243         builder.append(", appsSwitchPrevUrl=");
244         builder.append(appsSwitchPrevUrl);
245         builder.append(", appsSwitchUrl=");
246         builder.append(appsSwitchUrl);
247         builder.append(", audioUrl=");
248         builder.append(audioUrl);
249         builder.append(", bluetoothUrl=");
250         builder.append(bluetoothUrl);
251         builder.append(", concreteNotificationUrl=");
252         builder.append(concreteNotificationUrl);
253         builder.append(", currentNotificationUrl=");
254         builder.append(currentNotificationUrl);
255         builder.append(", deviceUrl=");
256         builder.append(deviceUrl);
257         builder.append(", displayUrl=");
258         builder.append(displayUrl);
259         builder.append(", notificationsUrl=");
260         builder.append(notificationsUrl);
261         builder.append(", widgetUpdateUrl=");
262         builder.append(widgetUpdateUrl);
263         builder.append(", wifiUrl=");
264         builder.append(wifiUrl);
265         builder.append("]");
266         return builder.toString();
267     }
268 }