]> git.basschouten.com Git - openhab-addons.git/blob
c5a0386ea78340e6384ac4ca603f06320ff5c7e1
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.amazonechocontrol.internal.jsons;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * The {@link JsonActivity} encapsulate the GSON data of the sequence command AlexaAnnouncement for sending
20  * announcements
21  *
22  * @author Michael Geramb - Initial contribution
23  */
24 @NonNullByDefault
25 public class JsonAnnouncementContent {
26
27     public String locale = "";
28     public final Display display = new Display();
29     public final Speak speak = new Speak();
30
31     public static class Display {
32         public @Nullable String title;
33         public @Nullable String body;
34     }
35
36     public static class Speak {
37         public String type = "text";
38         public @Nullable String value;
39     }
40 }