]> git.basschouten.com Git - openhab-addons.git/blob
4b8dda00d5d372ca213b6bb7657c8e154a5e0165
[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 notification result.
17  *
18  * @author Gregory Moyer - Initial contribution
19  */
20 public class NotificationResult {
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 NotificationResult withSuccess(Success success) {
32         this.success = success;
33         return this;
34     }
35
36     public static class Success {
37         private String id;
38
39         public String getId() {
40             return id;
41         }
42
43         public void setId(String id) {
44             this.id = id;
45         }
46
47         public Success withId(String id) {
48             this.id = id;
49             return this;
50         }
51     }
52 }