]> git.basschouten.com Git - openhab-addons.git/blob
e27beef660d98243a66d3eba1e49bae91e9c9435
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.voice.googletts.internal.dto;
14
15 import java.util.List;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
19
20 /**
21  * The message returned to the client by the voices.list method.
22  *
23  * @author Wouter Born - Initial contribution
24  */
25 @NonNullByDefault
26 public class ListVoicesResponse {
27
28     /**
29      * The list of voices.
30      */
31     private @Nullable List<Voice> voices;
32
33     public @Nullable List<Voice> getVoices() {
34         return voices;
35     }
36
37     public void setVoices(List<Voice> voices) {
38         this.voices = voices;
39     }
40 }