]> git.basschouten.com Git - openhab-addons.git/blob
258ea11f06e12d401b603e4b4d03649890126957
[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 bluetooth update result.
17  *
18  * @author Gregory Moyer - Initial contribution
19  */
20 public class BluetoothUpdateResult {
21     private Success success;
22
23     public Success getSuccess() {
24         return success;
25     }
26
27     public void setSuccess(Success success) {
28         this.success = success;
29     }
30
31     public BluetoothUpdateResult withSuccess(Success success) {
32         this.success = success;
33         return this;
34     }
35
36     public static class Success {
37         private Bluetooth data;
38
39         public Bluetooth getData() {
40             return data;
41         }
42
43         public void setData(Bluetooth data) {
44             this.data = data;
45         }
46
47         public Success withData(Bluetooth data) {
48             this.data = data;
49             return this;
50         }
51     }
52 }