2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.lametrictime.internal.api.local.dto;
18 * @author Gregory Moyer - Initial contribution
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;
37 public String getAppsActionUrl() {
41 public void setAppsActionUrl(String appsActionUrl) {
42 this.appsActionUrl = appsActionUrl;
45 public Endpoints withAppsActionUrl(String appsActionUrl) {
46 this.appsActionUrl = appsActionUrl;
50 public String getAppsGetUrl() {
54 public void setAppsGetUrl(String appsGetUrl) {
55 this.appsGetUrl = appsGetUrl;
58 public Endpoints withAppsGetUrl(String appsGetUrl) {
59 this.appsGetUrl = appsGetUrl;
63 public String getAppsListUrl() {
67 public void setAppsListUrl(String appsListUrl) {
68 this.appsListUrl = appsListUrl;
71 public Endpoints withAppsListUrl(String appsListUrl) {
72 this.appsListUrl = appsListUrl;
76 public String getAppsSwitchNextUrl() {
77 return appsSwitchNextUrl;
80 public void setAppsSwitchNextUrl(String appsSwitchNextUrl) {
81 this.appsSwitchNextUrl = appsSwitchNextUrl;
84 public Endpoints withAppsSwitchNextUrl(String appsSwitchNextUrl) {
85 this.appsSwitchNextUrl = appsSwitchNextUrl;
89 public String getAppsSwitchPrevUrl() {
90 return appsSwitchPrevUrl;
93 public void setAppsSwitchPrevUrl(String appsSwitchPrevUrl) {
94 this.appsSwitchPrevUrl = appsSwitchPrevUrl;
97 public Endpoints withAppsSwitchPrevUrl(String appsSwitchPrevUrl) {
98 this.appsSwitchPrevUrl = appsSwitchPrevUrl;
102 public String getAppsSwitchUrl() {
103 return appsSwitchUrl;
106 public void setAppsSwitchUrl(String appsSwitchUrl) {
107 this.appsSwitchUrl = appsSwitchUrl;
110 public Endpoints withAppsSwitchUrl(String appsSwitchUrl) {
111 this.appsSwitchUrl = appsSwitchUrl;
115 public String getAudioUrl() {
119 public void setAudioUrl(String audioUrl) {
120 this.audioUrl = audioUrl;
123 public Endpoints withAudioUrl(String audioUrl) {
124 this.audioUrl = audioUrl;
128 public String getBluetoothUrl() {
132 public void setBluetoothUrl(String bluetoothUrl) {
133 this.bluetoothUrl = bluetoothUrl;
136 public Endpoints withBluetoothUrl(String bluetoothUrl) {
137 this.bluetoothUrl = bluetoothUrl;
141 public String getConcreteNotificationUrl() {
142 return concreteNotificationUrl;
145 public void setConcreteNotificationUrl(String concreteNotificationUrl) {
146 this.concreteNotificationUrl = concreteNotificationUrl;
149 public Endpoints withConcreteNotificationUrl(String concreteNotificationUrl) {
150 this.concreteNotificationUrl = concreteNotificationUrl;
154 public String getCurrentNotificationUrl() {
155 return currentNotificationUrl;
158 public void setCurrentNotificationUrl(String currentNotificationUrl) {
159 this.currentNotificationUrl = currentNotificationUrl;
162 public Endpoints withCurrentNotificationUrl(String currentNotificationUrl) {
163 this.currentNotificationUrl = currentNotificationUrl;
167 public String getDeviceUrl() {
171 public void setDeviceUrl(String deviceUrl) {
172 this.deviceUrl = deviceUrl;
175 public Endpoints withDeviceUrl(String deviceUrl) {
176 this.deviceUrl = deviceUrl;
180 public String getDisplayUrl() {
184 public void setDisplayUrl(String displayUrl) {
185 this.displayUrl = displayUrl;
188 public Endpoints withDisplayUrl(String displayUrl) {
189 this.displayUrl = displayUrl;
193 public String getNotificationsUrl() {
194 return notificationsUrl;
197 public void setNotificationsUrl(String notificationsUrl) {
198 this.notificationsUrl = notificationsUrl;
201 public Endpoints withNotificationsUrl(String notificationsUrl) {
202 this.notificationsUrl = notificationsUrl;
206 public String getWidgetUpdateUrl() {
207 return widgetUpdateUrl;
210 public void setWidgetUpdateUrl(String widgetUpdateUrl) {
211 this.widgetUpdateUrl = widgetUpdateUrl;
214 public Endpoints withWidgetUpdateUrl(String widgetUpdateUrl) {
215 this.widgetUpdateUrl = widgetUpdateUrl;
219 public String getWifiUrl() {
223 public void setWifiUrl(String wifiUrl) {
224 this.wifiUrl = wifiUrl;
227 public Endpoints withWifiUrl(String wifiUrl) {
228 this.wifiUrl = wifiUrl;
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);
266 return builder.toString();