2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.amazonechocontrol.internal.jsons;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * The {@link JsonNotificationResponse} encapsulate the GSON data for the result of a notification request
21 * @author Michael Geramb - Initial contribution
24 public class JsonNotificationResponse {
25 // This is only a partial definition, see the example JSON below
26 public long alarmTime;
27 public long createdDate;
28 public @Nullable String deviceSerialNumber;
29 public @Nullable String deviceType;
30 public @Nullable String id;
31 public @Nullable String status;
32 public @Nullable String type;
33 public long remainingTime;
34 public @Nullable String recurringPattern;
35 public @Nullable String originalDate;
36 public @Nullable String originalTime;
42 * "alarmTime":1518864868060,
43 * "createdDate":1518864863801,
44 * "deviceSerialNumber":"XXXXXXXXXX",
45 * "deviceType":"XXXXXXXXXX",
46 * "id":"XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX",
47 * "musicAlarmId":null,
49 * "notificationIndex":"XXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX",
50 * "originalDate":null,
51 * "originalTime":"11:54:28.060",
53 * "recurringPattern":null,
55 * "reminderLabel":null,
57 * "displayName":"Clarity",
59 * "id":"system_alerts_melodic_05",
60 * "providerId":"ECHO",
61 * "sampleUrl":"https://s3.amazonaws.com/deeappservice.prod.notificationtones/system_alerts_melodic_05.mp3"
70 * "isSaveInFlight":true