]> git.basschouten.com Git - openhab-addons.git/blob
898117fb82b859c57d352cce7f7c8b3ec2d566a8
[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 audio update result.
17  *
18  * @author Gregory Moyer - Initial contribution
19  */
20 public class AudioUpdateResult {
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 AudioUpdateResult withSuccess(Success success) {
32         this.success = success;
33         return this;
34     }
35
36     public static class Success {
37         private Audio data;
38
39         public Audio getData() {
40             return data;
41         }
42
43         public void setData(Audio data) {
44             this.data = data;
45         }
46
47         public Success withData(Audio data) {
48             this.data = data;
49             return this;
50         }
51     }
52 }