]> git.basschouten.com Git - openhab-addons.git/blob
6e1ecc6bd799e5e6d3659fa18d491593db6d103b
[openhab-addons.git] /
1 /**
2  * Copyright 2017-2018 Gregory Moyer and contributors.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.openhab.binding.lametrictime.api.local.model;
17
18 public class NotificationResult
19 {
20     private Success success;
21
22     public Success getSuccess()
23     {
24         return success;
25     }
26
27     public void setSuccess(Success success)
28     {
29         this.success = success;
30     }
31
32     public NotificationResult withSuccess(Success success)
33     {
34         this.success = success;
35         return this;
36     }
37
38     public static class Success
39     {
40         private String id;
41
42         public String getId()
43         {
44             return id;
45         }
46
47         public void setId(String id)
48         {
49             this.id = id;
50         }
51
52         public Success withId(String id)
53         {
54             this.id = id;
55             return this;
56         }
57     }
58 }