]> git.basschouten.com Git - openhab-addons.git/blob
d5a5ddfbf6884c2f8f7e6bf586b66a48ca395932
[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 AudioUpdateResult
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 AudioUpdateResult withSuccess(Success success)
33     {
34         this.success = success;
35         return this;
36     }
37
38     public static class Success
39     {
40         private Audio data;
41
42         public Audio getData()
43         {
44             return data;
45         }
46
47         public void setData(Audio data)
48         {
49             this.data = data;
50         }
51
52         public Success withData(Audio data)
53         {
54             this.data = data;
55             return this;
56         }
57     }
58 }